Docs Features Guide Music System

Music System

Music playback with slash commands, web player dashboard, queue management, and playback controls

music play queue web player lavalink volume loop shuffle playlist song

Overview

The music system lets members play music in voice channels using slash commands or the web-based music player on the dashboard. Navigate to Left sidebar > Music on your server dashboard to access the web player. The system is powered by Lavalink and supports YouTube, Spotify, SoundCloud, and direct URL playback. Features include queue management, volume control, loop modes, shuffle, and seek.

Playing Music

There are two ways to play music:

Slash commands: Use /play followed by a song name, URL, or playlist link in Discord. The bot joins your current voice channel and starts playing. Supported sources include YouTube, Spotify, SoundCloud, and direct audio URLs.

Web player: Open the Music page on your server dashboard. Use the search bar to find songs or paste a URL. Click play to start playback. The web player shows the current track, queue, and playback controls in real-time.

The bot must be able to join and speak in your voice channel. You must be in a voice channel for the bot to know where to play.

Playback Controls

Control the music playback from Discord commands or the web player:

Pause/Resume: Pause the current track or resume playback.

Skip (Next): Skip to the next track in the queue.

Previous: Go back to the previous track.

Volume (range 0-100): Adjust the playback volume.

Seek: Jump to a specific timestamp in the current track.

Loop (select: off, track, queue): off plays each track once. track repeats the current song. queue repeats the entire queue after the last track.

Shuffle: Randomize the order of tracks in the queue.

All controls are available both through slash commands and the dashboard web player interface. Changes made from either source are reflected in real-time on both sides.

Web Music Player

The dashboard music page provides a visual player interface:

The player shows the current track title, artist, duration, and progress bar. Below the player, the queue displays all upcoming tracks with their titles and durations. You can reorder, remove, or add tracks directly from the web interface.

The web player communicates with the bot in real-time using WebSocket connections. Any changes made in Discord (like another member skipping a track) are instantly reflected on the web player, and vice versa.

Tips

Use the web player when you want a visual overview of the queue and easy drag-and-drop reordering. Use the queue loop mode for background music during events or hangouts. Keep the volume at a moderate level (50-70) to avoid audio clipping. When playing from Spotify, the bot searches for matching tracks on available audio sources since Spotify does not provide direct audio streams.