From: CMDR furrycat Date: Tue, 28 Mar 2017 10:47:36 +0000 (+0100) Subject: Fixed moving channels. X-Git-Url: http://git.furryclan.net/?a=commitdiff_plain;h=fb759bfa724fcae92079a434a1f8ed82a0a9ecd5;p=furrycat%2Fcatbot.git Fixed moving channels. --- diff --git a/bot.py b/bot.py index 4647983..a8173b5 100644 --- a/bot.py +++ b/bot.py @@ -540,7 +540,7 @@ async def maybe_play_sound(channel, filename, *, probability = 0.05, join = True return False log.debug('Moving to voice channel {}'.format(channel)) if voice is not None: - await client.move_to(channel) + await voice.move_to(channel) else: await client.join_voice_channel(channel) voice = client.voice_client_in(channel.server)