From 31391c855633de90b3b1e1c1e3d2561661b1ceff Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Mon, 22 Aug 2016 15:09:00 -0500 Subject: [PATCH] Changed up the order in case the bot does not have permissions to send a message --- cogs/playlist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/playlist.py b/cogs/playlist.py index 65539c9..623f20d 100644 --- a/cogs/playlist.py +++ b/cogs/playlist.py @@ -281,8 +281,8 @@ class Music: # Now we can create a VoiceEntry and queue it entry = VoiceEntry(ctx.message, player) - await self.bot.say('Enqueued ' + str(entry)) await state.songs.put(entry) + await self.bot.say('Enqueued ' + str(entry)) @commands.command(pass_context=True, no_pm=True) @checks.custom_perms(kick_members=True)