/help - displays all the available commands
/join - joins your current channel
/play <keyword/youtube link> - finds the song on youtube and plays it in your current channel. Will resume playing the current song if it was paused
/queue - displays the current music queue
/skip - skips the current song being played
/disconnect - Disconnected the bot from the voice channel
- To run the discord bot first you need python 3.4 or above.
- Run
pip install -r requirements.txtto install all of the python dependencies. - FFMPEG:
- Windows: Install
ffmpegfrom https://ffmpeg.org/download.html and make sure that the path to the bin folder is in your environment variables. - Linux: run
sudo apt install ffmpeg -y
- Windows: Install
Create a file named .env with your Discord bot's token (Instructions to get token here):
TOKEN=<your bot's token>
Once you complete installing python and bot's dependencies, run python main.py.
pawel02/music_bot (Tutorial Video: https://www.youtube.com/watch?v=PJDuI9n7rWE&t=325s&ab_channel=Computeshorts)