From bab3f614f8b42545fdb0101c4e353c87e0966d47 Mon Sep 17 00:00:00 2001 From: salmonik Date: Tue, 27 Oct 2026 18:18:07 +0100 Subject: music: group playback commands under /music Graduate grajcuj/skip/queue/stop/join into the /music parent and drop the top-level names. On startup, reconcile global slash commands and delete any that are no longer registered, since Discord otherwise keeps stale commands after a rename or move. Docs updated for the new command layout and queue semantics. --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 55ca02d..41ef0c3 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,11 @@ servers. - `/senator` — chat with the OpenRouter model ### Music (songbird) -- `/grajcuj` — play from Copyparty search, a direct URL, or an uploaded file -- `/stop` — stop playback and leave voice -- `/join` — join the caller's voice channel +- `/music grajcuj` — play from Copyparty search, a direct URL, or an uploaded file; optional `position` (`now`, `next`, `last`, default `last`) +- `/music queue` — show the current track followed by the pending queue +- `/music skip` — stop the current track and play the next queued one +- `/music stop` — stop playback, clear the queue, and leave voice +- `/music join` — join the caller's voice channel ### TTS - `/tts` — local Piper TTS (Polish, Google Translate fallback), sent as a file or played in voice @@ -112,7 +114,7 @@ servers. The runtime is organised around a shared `Data` struct (poise `user_data`) that holds the DB pool, HTTP client, Copyparty client, voice manager, the -in-memory trigger cache, autocomplete cache, and per-guild music track handles. +in-memory trigger cache, autocomplete cache, and per-guild music queue. - `src/main.rs` — boot: tracing, dotenvy, Config, DB pool, framework, cron task - `src/config.rs` — env-driven `Config` + variable validation -- cgit v1.2.3