Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
589 stars 192 forks source link

feat: add dynamic shuffle mode #1842

Closed twlite closed 10 months ago

twlite commented 10 months ago

Changes

This mode does not mutate the queue and only shuffles before selecting next track. It can be enabled/disabled on-the-fly.

// enables/disables dynamic shuffling mode
queue.toggleShuffle();

// enable
queue.enableShuffle();

// disable
queue.disableShuffle();

// enable traditional shuffle (this is a one-time process)
queue.enableShuffle(false);
queue.tracks.shuffle();

Status

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **discord-player-website** | ⬜️ Ignored ([Inspect](https://vercel.com/androz2091/discord-player-website/2cbsNyUSVFEUFJHF6JUHKmEB5WhS)) | | Oct 21, 2023 11:13am |