/autoplay command: keep music playing after the queue
With autoplay on, Bypass doesn’t stop when the queue runs out. As soon as the last queued song starts, it lines up a related song from the YouTube mix of what is playing, so there is no gap. Songs picked this way show ♾️ in /queue and "picked by autoplay" on the player.
It skips songs that already played or are waiting in the session, and leaves out songs shorter than a minute or longer than 12 minutes, so a two-hour compilation doesn’t end up in the mix. /autoplay changes the current session; add default:True to make autoplay the starting state of every new session in the server.
Options
| Option | What it does |
|---|---|
enabledTrue/False · optional | True turns autoplay on, False turns it off. Leave it out to switch it. |
defaultTrue/False · optional | True also saves the choice as the server default for new sessions. Needs Manage Server. |
Examples
/autoplay- Switches autoplay on or off for the current session.
/autoplay enabled:True default:True- Turns autoplay on now and for every new session in the server.
/autoplay enabled:False- Turns it off and removes the autoplay songs waiting in the queue. A
/radiosession ends too.
Who can use it
- Everyone can use it by default. It follows the server’s "Loop and autoplay" rule: on the permissions page of the web dashboard, an admin can limit it to DJs or to admins, or allow and deny specific roles and members. Server admins always pass.
- On a server that has never saved rules there, setting a DJ role with
/settings djrolemakes it DJ-only. A member who is alone with the bot in its voice channel counts as a DJ, unless an admin turns that off. - The default option needs the Manage Server permission.
- Admins can also turn a command off for members without Manage Server (
/commanddisable), keep commands to some text channels (/settings textchannels), and block members from the bot (/settings blacklist).
Premium
Not needed.
Limits
- No related songs are added while a loop mode is on.
- Without default:True, the change only lasts for the current session.
- Songs from SoundCloud, Spotify and other sources are matched to YouTube to find the mix.
On the web dashboard
The player on the web dashboard has an autoplay switch for each bot, and the dashboard settings have an Autoplay switch for the server default.
Open the dashboard