From 6ad489183f7e6589888f6594d82285792eba0f3b Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 27 Feb 2022 19:01:52 -0500 Subject: [PATCH] Working on bug in leaving --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 61b81d4..57903f2 100644 --- a/bot.py +++ b/bot.py @@ -125,7 +125,7 @@ class Bot(commands.Bot): print("Disconnecting") # Disconnect the client from the voice channel #await ctx.voice_client.disconnect() - self.voice_connection.disconnect() + await self.voice_connection.disconnect() print("Changing presence") # Change the presence to away and '@ me' await self.set_activity(False)