Word ban is a slackbot that lets you ban words in specific channels like "dog" in your cat channel.
I made it cuz I saw people say that specific words are banned, even though they aren't illegal or swears or whatever, just for funny reasons
so I made a bot to automatically say "this word is banned".
Check out the commands in commands.md!
Or just ping it (@Word Ban) and talk naturally and it will help you! (This feature is powered by ai.hackclub.com)
As I mentioned above, it just says this word x is banned when that word is banned. So obviously you can ban/unban words, but also you can see a score!
Yeah so I added a scoring system so your score goes down when you say a banned word, and theres a leaderboard too. That's about everything the bot does!
- Download the code
- Run
pip install -m requirements.txt - Create a
.envfile and addSLACK_BOT_TOKEN=with your slack bot token, andSLACK_APP_TOKEN=with the slack app token - You also need an API key from ai.hackclub.com as AI_TOKEN1 and an API Key from aistudio.google.com as AI_TOKEN2 in the env file
- Run
python app.pyorpython3 app.pyAny issues, please make an issue