mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
Fix (?) bug (?) with !queue
This commit is contained in:
parent
dba6d5aa19
commit
cad0bb3538
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ class MusicData:
|
||||||
self.playmode: playmodes.PlayMode = playmodes.Playlist()
|
self.playmode: playmodes.PlayMode = playmodes.Playlist()
|
||||||
self.voice_client: typing.Optional[discord.VoiceClient] = None
|
self.voice_client: typing.Optional[discord.VoiceClient] = None
|
||||||
|
|
||||||
|
def queue_preview(self):
|
||||||
|
return self.playmode.queue_preview()
|
||||||
|
|
||||||
|
|
||||||
class DiscordBot(GenericBot):
|
class DiscordBot(GenericBot):
|
||||||
"""A bot that connects to `Discord <https://discordapp.com/>`_."""
|
"""A bot that connects to `Discord <https://discordapp.com/>`_."""
|
||||||
|
|
Loading…
Reference in a new issue