Bot setup:
- Add bot to server
- Enter 'initialize' into any channel where the bot is present
- Enter 'admin' to make the message author an admin
- Enter 'member @account' to make the @account a member
- Go to server settings >> roles >> permissions
- Find and disable send message in the @everyone role
- Find and disable send message in the Strike III role
- (Or, if send message is already disabled, enable send message for member, strike I, and strike II roles)
- Let everyone communicate freely! The bot will censor keywords and give a strike everytime someone uses it in the form of strike roles
- After someone reaches strike 3, if the admin wishes, the admin can unmute the person by typing 'unmute @account'
- The admin can also manually mute someone by typing 'mute @account'
Download notes:
- Download project
- Go to Discord Developper Portal to create a bot and copy its token
- Replace the process.env.TOKEN with your own token
- Create Mysql database
- Enter your login information where process.env.DB_USER and process.env.DB_PASS are
- Enter the words you want to censor into the censoredWords.js file in ../Resources
Additional disclaimer: By adding the bot, all members are permitting for their messages to be recorded IF they use censored words.