Inspiration
We used our personal experience with online harassment to inspire this bot. Too many times it is the male dominated STEM discord servers that breed intolerance with likeminded individuals encouraging each other to share their harmful opinions. This creates a toxic environment of gender based violence that too many times goes unchecked. This bot will not allow these comments to go without consequence anymore.
What it does
Our Discord Bot scans all discord messages for keywords that indicate gender based harassment. After three strikes, the offender loses access to the server and is no longer able to send messages in any of the chats or join any voice channels. The bot also has functionality to empower others with inspirational quotes and fun STEM related trivia questions in three categories (math, programming, and fun facts).
How we built it
We imported discord.py and used the Python programming language to create our bot. We used Mock APIs within JSON files to simulate what data we would use in our quiz and inspirational quotes functionality.
Challenges we ran into
This was a new process for us all. We were familiar with the Python coding language however using it with Discord was difficult for us. We also ran into an issue with testing since the bot was only running on one Discord server and had several different machines all running the code at the same time. This meant that the bot was sending multiple messages depending on how many machines were running the code. Other issues similar to this blocked us. It required a lot of communication and coordination to properly debug our issues!
Accomplishments that we're proud of
We are very proud of the amount of work we were able to complete in the short time frame. We also are very proud of ourselves for learning how to create something that we use on a regular basis! This was a fun and rewarding 'look under the hood' of some of the most useful functionalities of Discord.
What we learned
Learning to use the Discord integration with Python was brand new for us all! We learned how to balance having fun with the workshops, cup stacking competition and other WiE activities with completing a project we are proud of.
What's next for WonderWoman Discord Bot
We would like to create the APIs that we made Mock versions of. We also see this bot being added to several UW related servers including our own UW Tron '26 server where we have experienced the harassment that this bot would flag.
Log in or sign up for Devpost to join the conversation.