Media Commands
The media plugin provides media playback from YouTube, SoundCloud, and internet radio streams. It interfaces with the audio engine to queue and play tracks.
Commands
Section titled “Commands”| Command | Description | Roles | Aliases | Flags |
|---|---|---|---|---|
link <url> |
Play a YouTube or SoundCloud link | dj | — | --front, -f |
ytplaylist <url> |
Add a YouTube playlist to the queue | dj | ytplist |
— |
ytsearch <query> |
Search YouTube for a song/video | dj | yts |
— |
ytplay [index] |
Play a search result by index (default: 0) | dj | ytp |
— |
radiolink <url> |
Stream an internet radio station | dj | rlink |
— |
- Queue placement: By default,
linkadds the track to the end of the queue. Use the--front/-fflag to add it to the front and start playing immediately. - YouTube search workflow: Use
ytsearch <query>to search YouTube, thenytplay [index]to play a result. The index is zero-based; if omitted, the first result (index 0) is played. - Playlists:
ytplaylistfetches all videos from a YouTube playlist URL and adds them to the queue. Large playlists may take a moment to process. - Radio streaming:
radiolinkstarts streaming from an internet radio URL. Radio streams play indefinitely until stopped or skipped. - Roles: All media commands require the
djrole or higher.