ttstoy: speak only ..-triggered messages in accessibility mode

Accessibility mode read every message in the voice channel side chat and
treated `..` as an opt-out, so ordinary chat was always spoken. Members now
trigger speech explicitly with `..`, and messages without the trigger are
never read.
This commit is contained in:
2026-11-04 18:33:30 -06:00
parent 5ca8cea1a7
commit 84feec2e2a
4 changed files with 32 additions and 20 deletions
+2 -2
View File
@@ -125,8 +125,8 @@ Group `[p]ttstoy accessibility`, alias `[p]ttstoy access`.
| Command | Permission | Description |
|---|---|---|
| `[p]ttstoy accessibility` | Any member | Shows mode, engine and name announcement state |
| `[p]ttstoy accessibility start` | Owner | Enables auto-read |
| `[p]ttstoy accessibility stop` | Owner | Disables auto-read |
| `[p]ttstoy accessibility start` | Owner | Enables the `..` speak trigger |
| `[p]ttstoy accessibility stop` | Owner | Disables the `..` speak trigger |
| `[p]ttstoy accessibility engine` | Owner | Shows or sets `dectalk` or `piper`, alias `tts` |
| `[p]ttstoy accessibility names` | Owner | Shows or sets whether names are announced, alias `announcenames` |
| `[p]ttstoy accessibility voice [name]` | Any member, guild only | Shows the voice list or sets your voice, `auto` clears |