Discord bot for controlling voice channels during Among Us matches
Click here to add Amongcord to your serverCommand | Aliases | Description |
---|---|---|
,add |
,invite |
Shows the bot's invite link |
,alive <color> |
,a |
Marks a player as alive |
,dead <color> |
,d |
Marks a player as dead. Dead players are kept muted during the discussion stage. |
,discussion |
,ds |
Sets the stage to discussion, umnutes everyone who is alive |
,endgame |
,eg |
Ends the current game |
,github |
,gh |
Links to the bot's GitHub page |
,help |
,h |
Lists all of the bot's commands |
,join <color> |
,j |
Joins the current game as a color |
,kick <color> |
,k |
Removes a player from the game |
,leave |
,l |
Leaves the current game |
,lobby |
,lb |
Sets the stage to Lobby, marks everyone as alive and unmutes them |
,newgame |
,ng |
Starts a new game |
,players |
,p |
Lists all players in the current game |
,tasks |
,ts |
Sets the stage to tasks and mutes everyone |
If you prefer you run the bot yourself instead of using the hosted instance, you can either use Docker or clone the repository directly. For both methods, you'll need a bot token and the ID of a server that has the emojis the bot needs (the bot needs to be in the server).
Images are automatically built and pushed to Docker Hub whenever the source code changes. You can run your own instance of the bot with the command below:
$ docker run -e DISCORD_TOKEN=<your discord token> GUILD_ID=<emoji guild id> -d pedrofracassi/amongcord
Although not recommended for production, cloning the repository should work just fine for experimental purposes. If you want to, you can use a process manager like pm2 to keep the node process running, but bear in mind that I don't run the bot this way and probably won't be able to help you out.
- Clone the repository
git clone https://github.com/pedrofracassi/amongcord
- Enter the directory you just cloned into
cd amongcord
- Install the dependencies
npm install
- Set the DISCORD_TOKEN and GUILD_ID environment variables
- Run the bot
node src/.
- AmongUsBot - automatically detects tasks/discussion stages with OCR instead of using commands, but needs to be installed on someone's computer.
- amongusdiscord - same as above, but written in Go. Easier to install as prebuilt executables are provided.