Added auto-disconnect feature
This commit is contained in:
1 parent
0f16af383b
commit
f09d8e3e9c
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}")
|
||||
await ctx.voice_client.disconnect()
|
||||
|
||||
|
||||
@bot.slash_command(name="pause", description="Pauses the playback")
|
||||
|
||||
Reference in new issue
Block a user