Currently the bot does not maintain any information regarding the amount of toxic messages sent by an user. This makes it impossible to kick out users. Add database support to the bot to retain the number of toxic messages sent by each user along with the server information
Database Schema
Server_ID
User_ID
ToxicCount
Other information maybe added based on the requirements
Task
Added database support to the application
The database must be either PostgreSQL or MongoDB
Whenever a message is classified as toxic, store its information in the database
Currently the bot does not maintain any information regarding the amount of toxic messages sent by an user. This makes it impossible to kick out users. Add database support to the bot to retain the number of toxic messages sent by each user along with the server information
Database Schema
Other information maybe added based on the requirements
Task