mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-10 09:41:46 +03:00
feat: Add to playlist and dislike button.
This commit is contained in:
@@ -129,7 +129,7 @@ class VoiceGuildsDatabase(BaseGuildsDatabase):
|
||||
tracks = self.get_tracks_list(gid, 'next')
|
||||
if not tracks:
|
||||
return None
|
||||
track = tracks.pop()
|
||||
track = tracks.pop(randint(0, len(tracks)))
|
||||
self.update(gid, {'next_tracks': tracks})
|
||||
return track
|
||||
|
||||
|
||||
Reference in New Issue
Block a user