Added auto-disconnect feature

This commit is contained in:
Lukas Blacha
2023-02-08 18:54:39 +01:00
parent fb0a12c213
commit 07ca78e1bc

View File

@@ -208,7 +208,7 @@ else:
while ctx.voice_client.is_playing():
asyncio.sleep(1)
else:
ctx.voice_client.disconnect()
await ctx.voice_client.disconnect()
@bot.slash_command(name="pause", description="Pauses the playback")