Working on bug in leaving

This commit is contained in:
Logan Cusano
2022-02-27 19:01:52 -05:00
parent b721fa3df4
commit 6ad489183f

2
bot.py
View File

@@ -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)