The internet is a very diverse place and allows people from all walks of life to communicate with one another. However, with such an open environment comes the challenge of creating a safe space for everyone, and catering to every individual’s needs. People have different needs and they should be able to filter the content they want, especially in private messaging apps. We created a Discord bot that not only helps these individuals have their needs met so they can feel safer when talking within their own community but also helps educate others on potentially harmful language and content, with the goal of educating rather than shaming.

What it does

HomeyBot provides a safe space for the community, as dictated by the community. The goal is to use community-based decision-making to choose what is deemed as inappropriate content, (whether they are inappropriate words, graphic images, or sensitive subjects) and how to deal with it. This ensures users are able to enjoy their time chatting with the online community.

How we built it

We built a Discord bot using Python to accomplish our task with the help of the Discord API. We also used the following technologies: Google Cloud Natural Language API for sentiment analysis and warning about sensitive subjects Google Cloud Vision API scan images for possible graphic content PIL/Pillow to pixelate and censor images Free Dictionary API to receive definitions of words Firebase to store information such as censored words, definitions, and references

Challenges we ran into

Integrating with various APIs and the database was our biggest challenge because each API had a somewhat unique way of interacting with it. Figuring stuff out about real-time Firebase database and adding, updating, and getting data from it was challenging since connecting to our python script needed us to get familiar with new python libraries.

Accomplishments that we're proud of

Some of us got to work with Google Cloud API again, and for some, it was the first time! We helped each other with figuring out how to make use of these APIs. Learning about all the tweaks and turns of working with Discord bots, a completely new territory to all of us, is something else we’re proud of.

What we learned

It was all our first time making a Discord bot, so we learned how to interact with users in meaningful ways, both by sending messages, retrieving messages, and integrating with various APIs.

What's next for HomeyBot

In addition to users building the community, we would also like for users to have personal options to mute certain words. So along with the blocklist for the Guild, each user can also add terms they personally do not want to encounter. This way, each person can individually decide their own comfort levels as well.

Built With

  • dictionary-api
  • firebase
  • google-cloud-natural-language-ai
  • google-cloud-vision-api
  • python
Share this project: