From 969ba1fec61c75f3a89b5b0e8e0890c556f3e0d2 Mon Sep 17 00:00:00 2001 From: timotheyca Date: Thu, 6 Oct 2022 09:53:52 +0300 Subject: [PATCH] play help --- docker_run.sh | 1 + example.sh | 1 - v6d3music/commands.py | 5 +++-- 3 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 docker_run.sh delete mode 100644 example.sh diff --git a/docker_run.sh b/docker_run.sh new file mode 100644 index 0000000..8bd0859 --- /dev/null +++ b/docker_run.sh @@ -0,0 +1 @@ +docker run -v v6d3music:/v6data --env v6ca=8ba641656218146c2d5584c02fdb0d68bb5caef0c1146c06e6d4e69ffd5e8398 --env v6caurl=http://172.18.0.2:5900 --env v6taurl=http://172.18.0.3:5910 --env v6tor=172.18.0.40 --name v6d3music -m 4000mb --cpus 3 --network v6d --ip 172.18.0.30 v6d3music diff --git a/example.sh b/example.sh deleted file mode 100644 index 72826df..0000000 --- a/example.sh +++ /dev/null @@ -1 +0,0 @@ -docker run -v v6d3music:/v6data --env v6ca=da5261eb5232b4b08452f25099b53b59d2e308b86aaf9c4204f0aa92569044d7 --env v6caurl=http://172.18.0.2:5900 --env v6taurl=http://172.18.0.3:5910 --name v6d3music -m 4000mb --cpus 3 --network v6d v6d3music diff --git a/v6d3music/commands.py b/v6d3music/commands.py index cb5bce8..02079ca 100644 --- a/v6d3music/commands.py +++ b/v6d3music/commands.py @@ -29,8 +29,9 @@ async def play(ctx: Context, args: list[str]) -> None: ctx, args, f''' `play ...args` -`play url [- effects] ...args` -`play url [+ preset] ...args` +`play url [- effects]/[+ preset] [[[h]]] [[m]] [s] [tor] ...args` +`pause` +`resume` presets: {shlex.join(allowed_presets)} ''', (), 'help'