What?
A bare-bones Discord bot for playing music in voice channels.
Commands:
Command | Description |
---|---|
]] <youtube link> |
Plays the video |
]] skip |
Skips the current song |
Why not?
- Create a new Discord application at Discord's developer portal.
- Create a bot user for your application and get the bot token (not the client secret).
- Create an OAuth URL for your bot with scope as "bot" and voice-related permissions. (Redirect URL is not necessary)
- Enable "Developer Mode" in Appearance settings in the Discord application. Right click on the voice channel you want the bot to join and copy its channel ID.
- Edit
config.py
.DISCORD_KEY
is the bot token andDISCORD_CHANNEL
is the channel ID. - Clone this repository.
- Run:
docker built -t musicbot .
from inside this repository. docker run musicbot
will start your bot.- You can use the
-d
option ondocker run
to make it run as a background process.
- Proper queue management
- Permissions system
- Search and suggestions