Rewritten ipc_client

This commit is contained in:
Choco
2024-05-14 20:41:43 +08:00
parent 779ea8b4a2
commit f1123b33ce
6 changed files with 579 additions and 15 deletions

View File

@@ -865,6 +865,9 @@ class Basic(commands.Cog):
if not player.is_playing:
await player.do_next()
if player.is_ipc_connected:
await player.send_ws({"op": "toggleAutoplay", "status": check})
@commands.hybrid_command(name="help", aliases=get_aliases("help"))
@app_commands.autocomplete(category=help_autocomplete)