From cf4fc1283173582b2c775d30a70194d01f5bd391 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 19 Apr 2017 22:35:06 -0500 Subject: [PATCH] Fix tabbing issue --- cogs/music.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cogs/music.py b/cogs/music.py index 6a9358d..60fdc33 100644 --- a/cogs/music.py +++ b/cogs/music.py @@ -402,13 +402,13 @@ class Music: if state and state.voice.is_connected(): state.voice.stop() - state.songs.clear() + state.songs.clear() - # This will cancel the audio event we're using to loop through the queue - # Then erase the voice_state entirely, and disconnect from the channel - state.audio_player.cancel() - await state.voice.disconnect() - del self.voice_states[ctx.message.guild.id] + # This will cancel the audio event we're using to loop through the queue + # Then erase the voice_state entirely, and disconnect from the channel + state.audio_player.cancel() + await state.voice.disconnect() + del self.voice_states[ctx.message.guild.id] @commands.command(pass_context=True) @commands.guild_only()