Repository navigation
wavemelo v0.8.0
wavemelo v0.8.0
Highlights
- Added slash-command autocomplete for
/loopand/play. - Track starts populate bounded local history used by
/playsuggestions.
Added
src/autocomplete.rswith Unicode-safe choice clipping, case-insensitive
filtering, and a five-suggestion cap./loopautocomplete foroff,track, andqueue./playautocomplete from the guild's bounded recent-title history.- Tests for filtering, clipping, and static mode suggestions.
Changed
on_track_startrecords the title in per-guild history and increments the
idle generation counter.
Testing and validation
| Gate | Command | Result |
|---|---|---|
| Format | cargo fmt --all -- --check |
passed |
| Check | cargo check --all-targets --locked |
passed |
| Clippy | cargo clippy --all-targets --locked -- -D warnings |
passed |
| Tests | cargo test --locked |
58 passed, 0 failed |
| Release build | cargo build --release --locked |
passed |
| Compose | docker compose config --quiet |
passed |
| Localization scan | Thai Unicode in src/ |
0 matches |
Upgrade instructions
Restart the bot so Discord receives the updated command definitions with
autocomplete enabled.
Known limitations
/playsuggestions come from in-process history only and are empty until
tracks have been played in the current process.