This is a bot created to play songs on the Discord
platform. Click here if you would like to learn more about Discord
.
- FFMPEG
- Discord Token
- Python3
- Download the
FFMPEG
file from here, according to your operating system. - Unzip the file to your desired location.
Before creating a discord token, please make sure that you have a working discord account.
If you do not have a DISCORD
account, you can sign up for one here.
Follow the guide here on how to set up your own discord token.
- Git clone the bot into your desired directory
joelczk@home/<directory-name>:~$ git clone https://github.com/joelczk/Discord-Music-Bot
- Install required python modules
joelczk@home/<directory-name>:~$ pip install > requirements.txt
- Run the bot
joelczk@home/<directory-name>:~$ python3 music.py
- The music bot is now ready to be deployed in
Discord
Alternatively, the bot could be hosted on other sites and the bots can be run anytime.
.join
: Calls for the bot to enter the voice channel that the user is in.leave
: Calls for bot to leave channel that it is currently in.queue
: Queue songs for the bot to play.play
: Calls for the bot to start playing songs.skip
: Calls for the bot to skip the next song in its queued list.clear
: Clears all queued songs.list
: List all queued songs.stop
: Stops songs from playing and clears the queued list
All songs that are used are streamed and downloaded from Youtube
. All credits and acknowledgements for the songs goes to the song creators.