//
Discord Music Bot
For this year's freedom project, I worked in a group of three with my friends Sanila Chowdhury and Vicky Chen. To make a discord music bot, which plays music while you’re on a call with your friends. Our inspiration was Rhythm, Discord’s popular music bot which was shut down and we liked it very much so we made our very own music bot!
We learned Python and our tool Discord Python API to create this fun and interactive bot for members to use on their servers. Discord.py (Discord Python API) is a modern, easy-to-use, feature-rich, and async-ready API wrapper for Discord.
It was a fun year building something we missed as a group. It was challenging and we preserved and completed our music bot. We are happy to out music bot again.
Basically, you input a song for the bot to play and it plays the song! From there, you can pause, resume, or stop the song!
This is how it works:
- When the user types !join in text channel -> bot will join the voice channel
- When the user types !play and the song name -> bot will play music and send a message in the text channel with the name of the song it’s playing
- When the user types !pause -> the bot will pause the music it’s playing and send a message that the music has been paused
- When the user types !resume -> the bot will resume playing and send a message that the music has been resumed
- When the user types !stop -> the bot will stop playing and send a message that the music has been stopped
- When the user types !disconnect -> the bot will leave the voice channel
- When the user types !clean and the # -> bot will delete the # of messages the user has indicated and it will display who deleted the messages
Preview video of the Discord Music Bot
Code of the Discord Music Bot
Blogs of the Discord Music Bot
//