From 951d43b939b743d6dd78be71cf3ac93a0cd4e7dc Mon Sep 17 00:00:00 2001 From: Twentysix Date: Wed, 16 Mar 2016 05:23:55 +0100 Subject: [PATCH] Fixed error when issuing audio commands on diff servers --- cogs/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/audio.py b/cogs/audio.py index 42b1a7905..4ebbea001 100644 --- a/cogs/audio.py +++ b/cogs/audio.py @@ -557,7 +557,7 @@ class Audio: async def check_voice(self, author, message): if self.bot.is_voice_connected(): - v_channel = message.server.me.voice_channel + v_channel = self.bot.voice.channel if author.voice_channel == v_channel: return True elif len(v_channel.voice_members) == 1: