dd9f2f6bbcd15f72e2b6159f5885bbe29fd29c5e
Previously forceSelfServerUnmuteUndeafen only ran on video-watch attempts and after voice reconnects — so when an admin server-muted or server-deafened the bot, it stayed muted/deafened for minutes (or forever if no streamer came on). Add registerSelfVoiceStateGuard: a voiceStateUpdate listener that detects the bot's own serverMute/serverDeaf transition to true and immediately re-issues mute:false,deaf:false. Wired at client-ready in bootstrap.ts. Best-effort, idempotent, never blocks the gateway.
Description
Bete Discord moderation watcher
29 MiB
Languages
TypeScript
95.8%
CSS
1.4%
Shell
1%
Nix
0.9%
PLpgSQL
0.5%
Other
0.4%