1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Fix (?) bug (?) with !queue

This commit is contained in:
Steffo 2019-10-25 13:22:25 +02:00
parent dba6d5aa19
commit cad0bb3538

View file

@ -20,6 +20,9 @@ class MusicData:
self.playmode: playmodes.PlayMode = playmodes.Playlist()
self.voice_client: typing.Optional[discord.VoiceClient] = None
def queue_preview(self):
return self.playmode.queue_preview()
class DiscordBot(GenericBot):
"""A bot that connects to `Discord <https://discordapp.com/>`_."""