Inspiration
Our team wanted to create something that was fun and applicable to the given prompt. After some brainstorming, we all agreed that a Discord bot would be the perfect project for this hackathon.
What it does
This bot performs two main functions: listen and play. The 'listen' command adds the bot to the voice channel that the user is in, randomly samples clips of what the player says, and plays the clip back at a higher pitch (just like a parrot). The 'play' command will take a YouTube link that the user pastes in the text channel and will play it in the voice channel of that user.
How we built it
We built this project almost entirely using python, utilizing the premade discord and Youtube_DL libraries (to name a few).
Challenges we ran into
Embarrassingly, importing libraries was the first and most annoying problem we faced. Additionally, implementing ffMPEG, a subcomponent of the discord library used in getting the bot to output audio was a major struggle. Finally, we were linking synchronous and asynchronous loops and had a tough time untangling them.
Accomplishments that we're proud of
Our group is very proud of the fact that we have a working discord bot. Coming into this hackathon we did not know what to expect when making the bot, and realizing how hard our idea was to implement yet persevering and having it work in the end is something we take pride in.
What we learned
As a group we learned the basics of implementing a discord bot. This includes familiarizing ourselves with the specific libraries necessary in order to implement our various ParrotBot commands.
What's next for ParrotBot
The original plan for ParrotBot had a third function, one that acted as a soundboard. This would utilize the already present audio storage and playback that is used for the 'listen' command, but the user would have the option to save clips and call them back at later times. Just like a soundboard
Log in or sign up for Devpost to join the conversation.