Requires amonguscapture to capture and relay game data.
Have any questions, concerns, bug reports, or just want to chat? Join our discord at https://discord.gg/ZkqZSWF!
Click the "invite me" badge in the header to invite the bot to your server, or click the GIF on the left.
All artwork for the bot has been generously provided by Smiles!
- You must run the Capture application on your Windows PC for the bot to work! Any Among Us games that don't have a user running the capture software will not have automuting capabilities!
- The Capture application currently only supports the Non-Beta Official Steam release of the game.
To start a bot game in the current channel, type the following .au
command in Discord after inviting the bot:
.au new
# Starts a game, and allows users to react to emojis to link to their in-game players
The bot will send you a private message (make sure your Discord settings allow DMs from server members!) with a link that is used to sync the capture software to your game. It will also have a link to download the latest version of the capture software, if you don't have it already.
If you want to view command usage or see the available options, type .au
or .au help
in your Discord channel.
Galactus is a system used to speed up people's muting (which is normally slow to due to Discord limiting bot actions to 5 calls in 5 seconds per server) by having the user provide a second token (created by the user) to the bot which helps mute/deafen players quicker. You can find a guide to set this up here, and the repo for this feature can be found here.
The Discord Bot uses the .au
prefix for any commands my default; if you change your prefix remember to replace .au
with your custom prefix. If you forget your prefix, you can @mention the bot and it will respond with whatever it's prefix currently is.
Command | Alias | Arguments | Description | Example |
---|---|---|---|---|
.au help |
.au h |
None | Print help info and command usage | |
.au new |
.au n |
None | Start a new game in the current text channel. Optionally accepts the room code and region | .au n CODE eu |
.au track |
.au t |
VC Name | Tell Bot to use a single voice channel for mute/unmute, and ignore any other channels | .au t Test Voice |
.au link |
.au l |
@name color | Manually link a discord user to their in-game color | .au l @Soup cyan |
.au refresh |
.au r |
None | Remake the bot's status message entirely, in case it ends up too far up in the chat. | |
.au end |
.au e |
None | End the game entirely, and stop tracking players. Unmutes all and resets state | |
.au unlink |
.au u |
@name | Manually unlink a player | .au u @player |
.au settings |
.au s |
View and change settings for the bot, such as the command prefix or mute behavior | ||
.au pause |
.au p |
None | Pause the bot, and don't let it automute anyone until unpaused. will not un-mute muted players, be careful! | |
.au info |
.au i |
None | View general info about the Bot |
In addition to handful of more secretive Easter Egg commands...
If you would prefer to self-host the bot, the steps for doing so are provided below. Self-hosting requires robust knowledge and troubleshooting capability for Docker/Docker-compose, unRAID, Heroku, and/or any other networking and routing config specific to your hosting solution.
As such, we recommend that the majority of users take advantage of our Verified bot. The link to invite our bot can be found here:
If you are certain that you would prefer to self-host the bot, please follow any of the guides detailed below.
- Create an Application and Bot account (requires Admin privileges on the Server in question). Instructions here
Now follow any of the specific hosting options provided below:
Docker compose is the simplest and recommended method for self-hosting AutoMuteUs, but it does require an existing physical machine or VPS to run on.
There is a docker-compose.yml
file in this repository that will provide all the constituent components to run AutoMuteUs.
- Install Docker and Docker Compose on the machine you will be using to host AutoMuteUs
- Download the
docker-compose.yml
from this repository, and create a.env
file in the same directory that will contain your Environment Variables. On Linux/UNIX systems you can usetouch .env
to create this file, but a templatesample.env
is provided in this repository for reference. - Provide your specific Environment Variables in the
.env
file, as relevant to your configuration. Please see the Environment Variables reference further down in this Readme for details, as well as thesample.env
provided. - Run
docker-compose pull
. This will download the latest built Docker images from Dockerhub that are required to run AutoMuteUs. - Run
docker-compose up -d
to start all the containers required for AutoMuteUs to function. The containers will now be running in the background, but you can view the logs for the containers usingdocker-compose logs
, ordocker-compose logs -f
to follow along as new log entries are generated.
unRAID hosting steps are are not yet updated for v3.0+ of AutoMuteUs, and as such is not supported at this time.
Heroku hosting steps are are not yet updated for v3.0+ of AutoMuteUs, and as such is not supported at this time.
If, for whatever reason, you really want to self host, but also don't want to figure out Docker or use Windows and hate Docker because of it (I don't blame you) you can self host 2.4.3 instead. If you are using this method, continue using the newest capture!
DISCORD_BOT_TOKEN
: The Bot Token used by the bot to authenticate with Discord.REDIS_ADDR
: The host and port at which your Redis database instance is accessible. Ex:192.168.1.42:6379
POSTGRES_ADDR
: Address (host:port) at which Postgres is accessible. Used by automuteus to store game statistics.POSTGRES_USER
: Username for authentication with Postgres.POSTGRES_PASS
: Password for authentication with Postgres.GALACTUS_ADDR
: Address at which Galactus is accessible. Typically something likehttp://localhost:5858
(or see docker-compose.yml)
- DEPRECATED
DISCORD_BOT_TOKEN_2
: A second Bot Token to be used to distribute the mute/deafen requests to Discord. Use the newWORKER_BOT_TOKENS
variable below, instead! WORKER_BOT_TOKENS
: A comma-separated list of extra tokens to be used for mute/deafen.EMOJI_GUILD_ID
: If your bot is a member of multiple guilds, this ID can be used to specify the single guild that it should use for emojis (no need to add the emojis to ALL servers).HOST
: The externally-accessible URL for Galactus. For example,http://test.com:8123
. This is used to provide the linking URI to the capture, via the Direct Message the bot sends you when typing.au new
. You must specifyhttp://
orhttps://
accordingly, and specify the port if non-8123. For example,https://your-app.herokuapp.com:443
LOCALE_PATH
: Path to localization files.LOG_PATH
: Filesystem path for log files. Defaults to./
CAPTURE_TIMEOUT
: How many seconds of no capture events received before the Bot will terminate the associated game/connection. Defaults to 36000 seconds.REDIS_PASS
: Your Redis database password, if necessary.AUTOMUTEUS_LISTENING
: What the bot displays it is "Listening to" in the online presence message. Recommend putting your custom command prefix here
NUM_SHARDS
: Num shards provided to the Discord API.SHARD_ID
: Shard ID used to identify with the Discord API. Needs to be strictly less thanNUM_SHARDS
-
Imposter: Similar bot that uses private Discord channels instead of mute/deafen. Also uses a dummy player joining the game and "spectating" to get game information; no capture needed (although loses the 10th player slot).
-
AmongUsBot: Without their original Python program with a lot of the OCR/Discord functionality, I never would have even thought of this idea! Not currently maintained
-
amongcord: A great program for tracking player status and auto mute/unmute in Among Us. Their project works like a traditional Discord bot; very easy installation!
-
Silence Among Us: Another bot quite similar to this one, which also uses AmongUsCapture. Now in early-access with a publicly-hosted instance!