PottyMouthBot is a Discord bot for filtering out bad words from your server.
The bot operates by searching all incoming messages for bad words found in src/trie/words.txt
. It also searches for multiple leetspeak versions of those words as well.
If a bad word is detected by the bot, it will delete the offending message, and then warn the user using a random shame message.
To install the bot, you must be an administrator/owner of the Discord server.
Simply click the following link and choose which server to install it to.
FYI: The bot requires that the Manage Messages
permission to delete messages.
If you have any requests or bugs to report, feel free to report an issue here.
To build the docker container, run the following command from the top level folder:
docker build -t pottybot .
To run the container, tagged and in detached mode, run the following command:
docker run --name discord_pottybot -d pottybot