1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Correct how to get the bot attribute

This commit is contained in:
Phxntxm 2017-08-06 18:17:31 -05:00
parent f221a0eee5
commit 7fd4cb5abe

View file

@ -682,7 +682,7 @@ class Music:
pass
else:
# Refresh the guild info, as want whatever the new VoiceClient is
guild = bot.get_guild(ctx.message.guild.id)
guild = self.bot.get_guild(ctx.message.guild.id)
if guild.voice_client:
await guild.voice_client.disconnect(force=True)