Working on bug in leaving
This commit is contained in:
2
bot.py
2
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)
|
||||
|
||||
Reference in New Issue
Block a user