- Download the bot
- Create a start.sh file and write the following command into it:
[screen -S MusicBot] java -jar MusicBot.jar
. Add thescreen -S MusicBot
part if you want to run MusicBot in a screen. - Run the start.sh file.
- Use the
stop
command to stop the bot. - Insert your bot token into the config.json which has been created. If you want to support Spotify playlists you also have to insert a Spotify Client ID and Secret.
- Start the bot again and it will work.
- /play
<song name / link>
- Add a specific song to queue - /skip - Skipvote a specific song
- /nowplaying - Get the song that is currently playing
- /queue - Show the queue
- /queue
<index>
- Show the queue from a certain index ("Queue pages") - /search
<song name>
- Search for a specific song and list the result
- /pause - Pause the player
- /resume - Resume the player
- /stop - Pauses the player if not paused, stops the player and clears queue if already paused
- /connect
[channel]
- Connect the bot to a optionally specified channel - /disconnect - Disconnect the bot
- /forceskip - Skip a track
- /movetrack
<from>
<to>
-Move a specific track in queue - /remove
<index>
- Remove a specific song from queue - /clear - Clear the queue
- /shuffle - Shuffles the queue
- /volume <0-200> - Change the volume (Only available on amd64 devices)
- /playnow <song name / link> - Plays a specific song immediately
- /mbsettings
<action>
[value]
- Settings command - You need to select an action from the dropdown menu of the command.
- All settings are explained if you run the specific action without a value.
- /cmd
<command>
- Send a command to the bot console (Owner only!) - /help - Shows the bot help page (everyone)
There are 3 types of blacklists. The default blacklist or music blacklist, the keyword blacklist and the artist blacklist. The default blacklist is for blacklisting video ids or youtube video urls. The keyword blacklist is for blacklisting keywords in the title of the video. The artist blacklist is for blacklisting channel names. All these blacklists are available as a global and a guild blacklist. Guild admins can bypass the guild blacklist. The global blacklist can't be bypassed. The blacklists can be managed via the database music-blacklist
command.
The bot console can also be accessed by the configured bot owner with the /cmd <command>
command.
help
- List all commands (planned)bot
- Manage the bot (ShardManager) (start/stop/status)shards
- Shards management (start/stop/list/...)database
- Database management (guild data, guild whitelist, blacklist)guild
- Manage guildsplayer
- Manage music playerscommands
- Manage global commands (delete/setup/list)stop
- Shut down MusicBot