Sign inSign up

brian9206/gamesyncbot

By brian9206

Updated almost 7 years ago

A simple Discord bot which tracks the current map of game servers

Image
0

10K+

brian9206/gamesyncbot repository overview

GameSyncBot

Add Bot to Server

A simple Discord bot which tracks the current map of game servers.

Discord Commands (Server admin only)

You can click the badge above to add the bot to your Discord server.

CommandDescriptionUsage
!addserverAdd a game server to the tracking list!addserver <game type> <host>:<port> [color hex code]
!delserverRemove a game server from the tracking list!delserver <host>:<port>
!listserverList all game servers in the tracking list!listserver

Click here to view all supported game type

Discord Commands (Private message)

You can send commands through private message to tell the bot to notify you when a game server changed to certain map.

CommandDescriptionUsage
!addmentionAdd a mention request to your list!addmention <game type> <host>:<port> <map> [color hex code]
!delmentionRemove a mention request in your list!delmention <host>:<port> <map>
!listmentionList all your mention requests!listmention

Click here to view all supported game type
* You can use * to match any tailing string for <map>. For example: ze_ff* will match all FF maps.


Host your own bot instance

The following instruction is for the one who wants to host your own bot instance on your own computer.

Usage

  1. Rename .env.example to .env
  2. Modify AUTH_TOKEN in .env
  3. yarn start or npm start

Docker image

Default user ID is 1001

chown 1001:1001 /some/dir/.env
chown 1001:1001 /some/dir/db

docker run -d \
    -v /some/dir/.env:/app/.env \
    -v /some/dir/db:/app/db \
    brian9206/gamesyncbot

Tag summary

Content type

Image

Digest

Size

355.3 MB

Last updated

almost 7 years ago

docker pull brian9206/gamesyncbot