Skip to content

Commit

Permalink
Upadted readme and added publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
bl3rune committed Sep 8, 2022
1 parent e1a4eac commit b5e49b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Gamedig Discord Bot
This is a bot implementation for the Discord API to announce server availability, publish the game server data as the current Activity of the bot user.
This is a bot implementation for the Discord API to announce server availability, publish the game server data as the current activity of the bot.
This supports a wide range of different game types and only requires the game servers hostname / IP address as well as the query port. No api credentials or similar things are needed.
This protocol will query the game server directly. Please make sure that the host where the bot is hosted, is able to access the game server on the specified query port.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"scripts": {
"build": "gulp",
"prestart": "npm run build",
"start": "node ."
"start": "node .",
"publish": "docker build -t gamedig-discord-bot . && docker image tag gamedig-discord-bot bl3rune/gamedig-discord-bot:latest && docker image push bl3rune/gamedig-discord-bot:latest"
},
"devDependencies": {
"@types/gamedig": "^3.0.2",
Expand Down

0 comments on commit b5e49b8

Please sign in to comment.