mirror of
https://github.com/deadcxap/YandexMusicDiscordBot.git
synced 2026-01-10 09:41:46 +03:00
impr: VoiceExtension optimization.
This commit is contained in:
@@ -171,7 +171,7 @@ class MyVibeButton(Button, VoiceExtension):
|
||||
|
||||
next_track = await self.db.get_track(gid, 'next')
|
||||
if next_track:
|
||||
await self._play_track(interaction, next_track)
|
||||
await self.play_track(interaction, next_track)
|
||||
|
||||
class ListenView(View):
|
||||
def __init__(self, item: Track | Album | Artist | Playlist | list[Track], *items: Item, timeout: float | None = 360, disable_on_timeout: bool = True):
|
||||
|
||||
Reference in New Issue
Block a user