Even in the 21st century, women still experience gender discrimination. close to 90% of people hold some sort of bias against women, providing new clues to the invisible barriers women face in achieving equality. This is based on a research by United Nations Development Program, that covers 75 countries and over 80% of the world population. So we built this bot to educate against gender discrimination, respond to harmful or sad messages, and provide resources to boost equal opportunity!

What it does

Woobot, warns user if they sent a rude or sexist message, then gives educational content to perhaps enlighten them. Woobot also counts the amount of time a users message has been flagged, then the admin could kick a member if the warning amount gets too high. Other than gender discrimination messages, Woobot also empowers women by responding to sad messages, give compliments, and also providing resources. These resources will show up with key words like "I want to learn coding" or "I'm looking for a job". Confidence enlightening message will show up with key words like "I am sad", or "compliment me"

How we built it

First we built a machine learning model using google colab to detect sexist comment, by entering over 1000 data of sexist sentences. Then we built the bot itself using python and flask. The chatbot model is called chatbotter and the sentiment analysis ( for sexist comments) is using support vector machine model to predict if it's sexist! Then we compiled and processed the data on google colab.

Challenges we ran into

We ran into trouble with collaboration as many of us were in drastically different time zones. Eventually, we saw this as an advantage as we were able to work 24 hours around the clock. It was also amazing to collaborate with people from different countries. This is also the first time some of our members built a discord bot.

Accomplishments that we're proud of

We successfully implemented a discord bot with machine learning and storage system in a short time span!

What we learned

We learned a lot from teamwork, using machine learning in a discord bot, adjusting threshold for optimal message detection, etc!

What's next for Woobot

We'll continue adding more features and training the model to make it more useful and accurate.

How to test it

Add Woobot#2915 on your server at discord!

Built With

  • api
  • discord
  • google-colab
  • python
  • tensor
Share this project: