From cad0bb3538d00313bd79455986aab393d2906611 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 25 Oct 2019 13:22:25 +0200 Subject: [PATCH] Fix (?) bug (?) with !queue --- royalnet/bots/discord.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/royalnet/bots/discord.py b/royalnet/bots/discord.py index 0f5dbfe4..c30cdd56 100644 --- a/royalnet/bots/discord.py +++ b/royalnet/bots/discord.py @@ -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 `_."""