diff options
| author | czjstmax <jstmaxlol@disroot.org> | 2026-02-09 17:41:16 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-09 17:41:16 +0100 |
| commit | 6424fe9f654b5f29e0d7e915e0883e8bf655bae1 (patch) | |
| tree | 28aa7adc769cbb20918fdeaed23163677e2dfb88 /ambient.py | |
| parent | c9f3f06bd6da0fb87eb0c0588854231add081b7e (diff) | |
Added playlist shuffle for *randomness* (!!)
Diffstat (limited to 'ambient.py')
| -rw-r--r-- | ambient.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ def load_playlist(): with yt_dlp.YoutubeDL(ytdl_playlist_opts) as ydl: info = ydl.extract_info(PLAYLIST_URL, download=False) playlist_urls = [entry["url"] for entry in info["entries"]] + random.shuffle(playlist_urls) async def play_loop(vc: discord.VoiceClient): global playlist_urls |