Added auto-disconnect feature
This commit is contained in:
@@ -261,7 +261,7 @@ else:
|
||||
elif ctx.voice_client.is_playing():
|
||||
ctx.voice_client.stop()
|
||||
|
||||
@bot.event()
|
||||
@bot.event
|
||||
async def on_voice_state_update(ctx: commands.Context):
|
||||
while True:
|
||||
await asyncio.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user