aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorsalmonik <salmonik@tuta.io>2026-10-27 18:18:07 +0100
committersalmonik <salmonik@tuta.io>2026-10-27 18:18:07 +0100
commitbab3f614f8b42545fdb0101c4e353c87e0966d47 (patch)
treec257bc4712bba088bea2eab42d93b07e9cfed89c /README.md
parentmusic: add per-guild queue with now/next/last, skip and queue (diff)
downloadsenator-sperma-bab3f614f8b42545fdb0101c4e353c87e0966d47.tar.gz
senator-sperma-bab3f614f8b42545fdb0101c4e353c87e0966d47.zip
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.
Diffstat (limited to '')
-rw-r--r--README.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/README.md b/README.md
index 55ca02d..41ef0c3 100644
--- a/README.md
+++ b/README.md
@@ -66,9 +66,11 @@ servers.
66- `/senator` — chat with the OpenRouter model 66- `/senator` — chat with the OpenRouter model
67 67
68### Music (songbird) 68### Music (songbird)
69- `/grajcuj` — play from Copyparty search, a direct URL, or an uploaded file 69- `/music grajcuj` — play from Copyparty search, a direct URL, or an uploaded file; optional `position` (`now`, `next`, `last`, default `last`)
70- `/stop` — stop playback and leave voice 70- `/music queue` — show the current track followed by the pending queue
71- `/join` — join the caller's voice channel 71- `/music skip` — stop the current track and play the next queued one
72- `/music stop` — stop playback, clear the queue, and leave voice
73- `/music join` — join the caller's voice channel
72 74
73### TTS 75### TTS
74- `/tts` — local Piper TTS (Polish, Google Translate fallback), sent as a file or played in voice 76- `/tts` — local Piper TTS (Polish, Google Translate fallback), sent as a file or played in voice
@@ -112,7 +114,7 @@ servers.
112 114
113The runtime is organised around a shared `Data` struct (poise `user_data`) 115The runtime is organised around a shared `Data` struct (poise `user_data`)
114that holds the DB pool, HTTP client, Copyparty client, voice manager, the 116that holds the DB pool, HTTP client, Copyparty client, voice manager, the
115in-memory trigger cache, autocomplete cache, and per-guild music track handles. 117in-memory trigger cache, autocomplete cache, and per-guild music queue.
116 118
117- `src/main.rs` — boot: tracing, dotenvy, Config, DB pool, framework, cron task 119- `src/main.rs` — boot: tracing, dotenvy, Config, DB pool, framework, cron task
118- `src/config.rs` — env-driven `Config` + variable validation 120- `src/config.rs` — env-driven `Config` + variable validation