ModBot is an AI powered general-purpose chat moderation discord bot which can be used to filter messages of any topic without any custom fine-tuning or training. It works out of the box for any topic to be filtered or restricted in a channel.
A distilbart model finetuned for natural language inference is repurposed for zero-shot text classification to classify messages into the filter categories. This makes the system work for almost all topics without the need of any fine-tuning on custom topics.
manage messages and enable the message content privileged intents.pip install -r requirements.txt.DISCORD environment variable with your bot's secret client token.modbot.py script with python modbot.py. Voila! Your bot is not active and will automatically delete messages which belong to the topics mentioned in your filter. You can edit the text_filters.txt file while the bot is running without the need to restart the bot for new filters.ModBot is an AI powered general-purpose chat moderation discord bot which can be used to filter messages of any topic without any custom fine-tuning or training. It works out of the box for any topic to be filtered or restricted in a channel.
A distilbart model finetuned for natural language inference is repurposed for zero-shot text classification to classify messages into the filter categories. This makes the system work for almost all topics without the need of any fine-tuning on custom topics.
manage messages and enable the message content privileged intents.pip install -r requirements.txt.DISCORD environment variable with your bot's secret client token.modbot.py script with python modbot.py. Voila! Your bot is not active and will automatically delete messages which belong to the topics mentioned in your filter. You can edit the text_filters.txt file while the bot is running without the need to restart the bot for new filters.