Inspiration

We were originally really excited for the holiday season, but due to current circumstances, many of our original plans could not come to fruition. However, we still felt that embodying the heart of the holidays - spending time with loved ones - was very important. Therefore, we decided to make a bot on discord, a popular text service, that could connect people and spread Christmas cheer.

What it does

Oñobot can (so far): leave/join voice channels search for song names and find corresponding URLs on Youtube and add these songs to a queue download these songs and play them through voice channels flip a coin for those tough dilemmas help facilitate an amazing, solid high-five between loved ones distribute sustainable, virtual bubblewrap for stress-relief

How we built it

Discord.py was used primarily to read/send discord messages and commands. Afterwards, youtube_dl was used to download music from URLs grabbed by urllib. Other miscellaneous libraries such as pickle, os, random, regex, and json were used for storage as well as for general utility.

Challenges we ran into

None of us had actually coded a python bot before, so it was a hard experience. The sheer amount of syntax needed to learn for all the various libraries made the project difficult to approach. It was also difficult to become accustomed to repl.it right away, which none of us had used either, since its package system has a learning curve.

Accomplishments that we're proud of

The entire process was very difficult, but the process of grabbing YouTube URLs and playing them through the voice channel was especially difficult. We both remember gasping audibly when the program had worked, so we would definitely consider that our greatest accomplishment during this hackathon

What's next for Oñobot

We are intent on developing a function for oñobot to link with google accounts of users in order to export Youtube playlists of the queue. This is a completely new function that we have not seen in any other discord both that we believe will offer a fresh incentive for users to use oñobot. After more development, oñobot may be hosted on Google Cloud 24/7 for everybody to enjoy.

Built With

Share this project:

Updates