Just another Discord music bot, but done the right way!
- Play from Youtube
- Play from Youtube Music
- Play from Spotify
- Create and save playlists
- Queue Pagination (It is necessary to deal with the limit of 400 characters per message)
- Song Lyrics
- Blacklist for blocking songs
- Volume normalization
ffmpeg
,libtool
andlibsodium-dev
- Debian:
sudo apt-get install ffmpeg libtool libsodium-dev
- Debian:
nodejs ^16.7.0
- Discord Token an client id
- Discord OAuth2 with scope
bot
andapplications.commands
withAdministrator
permissions - YouTube API key
- Spotify API client id and client secret
Create a config.json
or just rename the example.config.json
and put your settings.
{
"text_channel" : "\uD83C\uDF99・Jukebox",
"voice_channel" : "\uD83D\uDCFB・Jukebox",
"discord_client_id": "",
"discord_token": "",
"youtube_api_key": "",
"spotify_client_id" : "",
"spotify_client_secret" : ""
}
npm install
npm run start
Slash Command | Description |
---|---|
about | Show about message |
leave | Make the bot leave the channel, also stops the player |
play | Add a song to the current queue and start playing |
stop | Stops the player |
pause | Pauses the player |
unpause | Unpauses the player |
skip | Skip to the next song |
shuffle | Shuffle the queue |
clear | Clears the queue |
loop | Queue loop (enable or disable) |
notify | Notifies you when it starts playing a new song (enable or disable) |
queue | Display the current queue and controls |
remove | Remove the specified song from current queue |
jump | Jump to specified song in the current queue |
playlist save | Saves the current queue as playlist |
playlist create | Create a new playlist |
playlist delete | Delete a playlist |
debug | Show debug messages (enable or disable) |