Music
Play music from YouTube or Spotify — links, playlists, or search — with /music
/music play plays from YouTube or Spotify links, playlists or a search in your voice channel, with skip, queue, pause, volume and effects. Set a DJ role, allowed channels, the default volume and limits on queue and track length. /radio plays the 24/7 CUB Radio station. With vote-skip on, listeners who aren't DJs vote to skip, and the song is skipped once enough of the people listening agree.
- Free, like every feature
- Off until you switch it on
- 2 commands
Set it up
- Switch on Music
Dashboard → your server → Modules → Music & Media → Music. It starts off, like every feature.
- Open Music in the sidebar
Its settings save as you change them and work straight away.
- Enable Music
Master toggle — disables all /music commands server-wide when off
- Allowed Channels
Music can only be played from these voice channels. Empty means any.
- Enable link queueing
Off until you pick at least one channel below
- Watched Channels
Text channels where music commands are accepted. Empty means any.
- Try /music
Play music from YouTube or Spotify in a voice channel New commands show up within about a minute; press Ctrl+R in Discord if you can't see them yet.
Settings
Everything on the Music page of the dashboard. Changes save as you make them.
- Enable Music
- Master toggle — disables all /music commands server-wide when off
- Allowed Channels
- Music can only be played from these voice channels. Empty means any.
- Enable link queueing
- Off until you pick at least one channel below
- Watched Channels
- Text channels where music commands are accepted. Empty means any.
- DJ Role
- Members with this role can skip, stop and change the queue without a vote.
- DJ-only for everything
- Only DJs (or admins) can use any music command, including /music play
- DJ-only for queue control
- Anyone can add songs, but only DJs (or admins) can skip, stop, change volume, etc. (needs a DJ role)
- Vote to skip
- Listeners who aren't DJs vote with skip; the song is skipped once enough of the people listening have voted. DJs, admins and whoever queued the song still skip straight away.
- Votes needed (% of listeners)
- How many of the people listening must vote to skip a song.
- Default Volume (%)
- The volume music starts at.
- Max Queue Length
- The most songs waiting at once.
- Max Track Length (seconds)
- Songs longer than this can't be added. 0 = no limit.
- Auto-leave when empty
- Leave the voice channel automatically when everyone else has left
- Wait before leaving
- Seconds to wait once the channel empties. A moment's grace means someone moving between channels, or dropping out briefly, doesn't lose the queue. 0 leaves immediately.
- Autoplay
- When the queue runs out, keep playing related tracks. A requested song always takes priority — autoplay only fills the gaps.
- When CUB Radio is playing
- The bot can only be in one voice channel per server, so music and the radio cannot play at the same time. Choose which wins when someone starts music while the radio is on.
- Announce now playing
- Post a "Now Playing" message with playback controls in the channel
- Allow YouTube links
- Allow YouTube track and playlist links
- Allow Spotify sources
- Allow Spotify track and playlist links
- Allow explicit content
- Allow tracks flagged as explicit
Commands
Who can use each one is up to you: the "Who can use this" card on the page, or Command Access.
/music
Play music from YouTube or Spotify in a voice channel
/music fm link
Link your Last.fm account
| Option | What to give it | Needed? |
|---|---|---|
username | Your Last.fm username (text) | Yes |
/music fm unlink
Forget your Last.fm username
/music fm now
What someone is playing now
| Option | What to give it | Needed? |
|---|---|---|
member | Who (default: you) (member) | Optional |
/music fm top
Top artists, tracks or albums
| Option | What to give it | Needed? |
|---|---|---|
what | Artists, tracks or albums (default: artists) (text: Artists, Tracks, Albums) | Optional |
period | Over what time (default: set on the dashboard) (text: Last 7 days, Last month, Last 3 months, Last 6 months, Last year, All time) | Optional |
member | Who (default: you) (member) | Optional |
/music fm whoknows
Who in this server listens to an artist
| Option | What to give it | Needed? |
|---|---|---|
artist | The artist (text) | Yes |
/music playlist list
Show this server's playlists and which one is active
/music playlist show
Show the songs in a playlist
| Option | What to give it | Needed? |
|---|---|---|
name | Which playlist (defaults to the active one) (text) | Optional |
/music playlist create
Create a new playlist and name it
| Option | What to give it | Needed? |
|---|---|---|
name | What to call it (text) | Yes |
/music playlist delete
Delete a playlist
| Option | What to give it | Needed? |
|---|---|---|
name | Which playlist (text) | Yes |
/music playlist switch
Make a playlist the active one
| Option | What to give it | Needed? |
|---|---|---|
name | Which playlist (text) | Yes |
/music playlist add
Add a song to a playlist by link (DJ role)
| Option | What to give it | Needed? |
|---|---|---|
link | A YouTube or Spotify link (text) | Yes |
playlist | Which playlist (defaults to the active one) (text) | Optional |
/music playlist remove
Remove a song from a playlist (DJ role)
| Option | What to give it | Needed? |
|---|---|---|
position | Position in the playlist (whole number) | Yes |
playlist | Which playlist (defaults to the active one) (text) | Optional |
/music playlist load
Queue a playlist and start playing it
| Option | What to give it | Needed? |
|---|---|---|
name | Which playlist (defaults to the active one) (text) | Optional |
/music play
Play (or queue) a YouTube/Spotify link, playlist, or search
| Option | What to give it | Needed? |
|---|---|---|
query | YouTube/Spotify link, playlist, or something to search for (text) | Yes |
/music skip
Skip the current track
/music queue
Show the current queue
/music nowplaying
Show what's playing now
/music pause
Pause playback
/music resume
Resume playback
/music stop
Stop playback and clear the queue
/music volume
Set the playback volume (0–100)
| Option | What to give it | Needed? |
|---|---|---|
percent | Volume percentage (0–100) (whole number, 0–100) | Yes |
/music effect
Add an audio effect (bass boost, nightcore, 8D…)
| Option | What to give it | Needed? |
|---|---|---|
name | Effect (text: No effect, Bass boost, Nightcore, Vaporwave, 8D, Speed up, Slow down, Karaoke (vocals down), Treble boost) | Yes |
/music loop
Set the loop mode
| Option | What to give it | Needed? |
|---|---|---|
mode | Loop mode (text: Off, Current track, Whole queue) | Yes |
/music shuffle
Shuffle the queue
/music remove
Remove a track from the queue by its position
| Option | What to give it | Needed? |
|---|---|---|
position | Queue position (see /music queue) (whole number) | Yes |
/music clear
Clear the queue (keeps the current track)
/music disconnect
Leave the voice channel
/radio
Play the CUB SOFTWARE 24/7 radio stream in a voice channel
/radio join
Bot joins your voice channel and plays the live radio stream
/radio leave
Bot leaves the voice channel and stops the radio stream
/radio add-song
Add a song to the CUB Radio queue — works in any server running CUB Radio
| Option | What to give it | Needed? |
|---|---|---|
link | A YouTube or Spotify track link (a single song, not a playlist or album) (text) | Yes |