Added auto-disconnect feature
This commit is contained in:
1 parent
daaa120594
commit
fb0a12c213
1 file changed
+1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user