From fb0a12c2139c130c67de34a537b109d844a6b986 Mon Sep 17 00:00:00 2001 From: Lukas Blacha Date: Wed, 8 Feb 2023 18:53:20 +0100 Subject: [PATCH] Added auto-disconnect feature --- Music-Bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Music-Bot.py b/Music-Bot.py index 293e396..54f3cc9 100644 --- a/Music-Bot.py +++ b/Music-Bot.py @@ -204,6 +204,7 @@ else: player, after=lambda e: print(f"Player error: {e}") if e else None ) await ctx.respond(f"{success}Now playing: `{player.title}`\nRequested by {ctx.author.mention}") + print(dir(ctx.voice_client)) while ctx.voice_client.is_playing(): asyncio.sleep(1) else: