A Simple Musical Bot for Discord. (Work in progress)
$ pip install -r requirements.txt
- Download this folder : ffmpeg v3.3.1 win64
- Find ffmpeg.exe inside the downloaded folder (into bin folder).
- Put the exe where you want and add it to your PATH.
- Do what is listed above.
- Create a simple text file next to disco-bot.py (at the root of your installation folder) and insert your bot token in the first row.
Run disco-bot.py
python disco-bot.py
Once your bot is online on your server you can use a list of commands that start with !. Some of them require you to be in a voice channel in order to work (like !play).
- !helpbot : Display help about the bot’s commands
- !addsong [YT URL] : Add a song or songs from a playlist to the bot’s queue. Only argument is YouTube URL of your song/playlist.
- !playlist : Display the current playlist of the bot.
- !play : Start reading the songs in the playlist (you must be in a voice channel!)
- !peek : Display information about the next song.
- !song : Display information about the current song.
- !next : Skip the current song and start reading the next one.
- !pause : Pause the reading.
- !resume : Resume the reading.
- !stop : Stop completly the lecture.
- !clear : Empty the playlist.
- !dellast : Delete the last song added to the playlist.
- !volume [number] : When called without arguments only display the current volume, when you specify a number (between 0 - 200) adjust the current volume.