Source code of the mug discord bot
The whole purpose of this bot is to delete any message that does not match the regex. It also counts how many times a word was writen and keeps it as a score. The project was writen as a joke for the discord server.
Modules required:
pip install discord.py
pip install python-dotenv