Inspiration
Discord is a place where all age groups of people collaborate and use it for various purposes. And teenagers mostly use it for education purposes. And people join various servers(mostly private), and as the server is private there is a high chance of hate speech messages, threats etc. So my motivation was to make a discord bot to make discord a safer place.
What it does
It uses the expertai hate speech detection apis and after processing the message, if it detects any hate speech content in the message it removes the message and shows the members why the message was deleted.
How we built it
I built it using the discord python api, expertai api and hosted it on replit.
Challenges we ran into
we used to host small projects/personal projects on heroku for free, recently heroku removed free hosting, so tried few free hosting sites, finally hosted the bot in replit.
Accomplishments that we're proud of
i have no idea of how to make discord bots and also don't know anything about expertai, but I have learned and implemented the bot successfully.
What we learned
I learned how to make discord bot, understood expertai nlp apis especially hate speech detection apis, how we can make use of it for good in such a large scale with even a smaller project.
What's next for ExpertAI Discord Bot
we can add more features(remove users if they cross a limit of 5 messages etc), get feedback on the hate speech model apis from users, improve it's performance. I will try to implement a twitter bot(maybe other folks might have submitted it) but twitter(nut twitter already has their own hate speech detection and monitoring content).
Built With
- discord
- expertai
- python
Log in or sign up for Devpost to join the conversation.