This is a Discord bot that does various things such as filter and clean the chat
- Invite the bot here
- create a text chanel called bots
- give the bot permissions to delete chat messages
Bot Cleaner clean - Deletes the number of previous messages\n
Bot Cleaner add user - Adds the user to a list to move their messages to a bots chat\n
Bot Cleaner remove user - Removes the user from a list to move their messages to a bots chat\n
Bot Cleaner add command - Adds a key to a list to ignore for example if you use a bot thats command prefix is ! then all messages that start with ! will be moved to the bot chat \n
Bot Cleaner remove command - Removes the command prefix from the list\n
Bot Cleaner can be replaced with BCL
- clone the repo
git clone https://github.com/opria123/Bot-Cleaner.git - navigate to the root directory
- run
npm install - run
npm run dev
- I learned how to work with node to make calls to discord.js
- I lerned how to manage a file sysytem with saving and deleting users and commands from the list so the bot knows what to blacklist