MusicBot is the original Discord music bot written for Python 3.8+, using the pycord library. It plays requested songs from YouTube and other services into a Discord server (or multiple servers). If the queue is empty, MusicBot will play a list of existing songs that is configurable. The bot features a permission system, allowing owners to restrict commands to certain people. MusicBot is capable of streaming live media into a voice channel (experimental).
Setting up the MusicBot is relatively painless - just follow one of the guides. After that, configure the bot to ensure its connection to Discord.
The main configuration file is config/options.ini
, but it is not included by default. Simply make a copy of example_options.ini
and rename it to options.ini
. See example_options.ini
for more information about configurations.
There are many commands that can be used with the bot. Most notably, the play <url>
command (preceded by your command prefix), which will download, process, and play a song from YouTube or a similar site. A full list of commands is available here.