Voice-check: a bot whose token Discord rejected is summed up as 'No radio bot in this server' (and offers an invite to a bot that is already there) #257

Closed
opened 2026-10-05 02:43:29 -04:00 by logan · 1 comment
Owner

Found in QA of PR #250 (#225 S4), e54191a.

drb-c2-core/app/routers/discord_checks.py _channel_state: a free row with status "invalid" (discord_rest.INVALID) is not ok, not UNKNOWN, not PERM_DENIED, so it falls through to the final return "no_bot". The picker (discordPicker.ts channelVerdict -> VoiceCheckBits.tsx BADGE.no_bot) then shows 'No radio bot' with the title 'No radio bot is in this Discord server yet.' and, via showInvite (NodeDiscordRadio.tsx), invite links. The bot IS in the server; its token is dead, and the owner cannot fix it by inviting. The per-bot detail line (botLine 'invalid') does say 'token was rejected', so the two contradict each other.

Fix: add an 'invalid' channel state (backend) + badge 'Radio bot needs replacing — contact DRB support' (frontend), no invite links for it.

Found in QA of PR #250 (#225 S4), e54191a. drb-c2-core/app/routers/discord_checks.py `_channel_state`: a free row with status "invalid" (discord_rest.INVALID) is not ok, not UNKNOWN, not PERM_DENIED, so it falls through to the final `return "no_bot"`. The picker (discordPicker.ts channelVerdict -> VoiceCheckBits.tsx BADGE.no_bot) then shows 'No radio bot' with the title 'No radio bot is in this Discord server yet.' and, via showInvite (NodeDiscordRadio.tsx), invite links. The bot IS in the server; its token is dead, and the owner cannot fix it by inviting. The per-bot detail line (botLine 'invalid') does say 'token was rejected', so the two contradict each other. Fix: add an 'invalid' channel state (backend) + badge 'Radio bot needs replacing — contact DRB support' (frontend), no invite links for it.
logan added the area/discordarea/frontend
kind
behavior-bug
priority
p2
type
bug
labels 2026-10-05 02:43:33 -04:00
Author
Owner

Fixed in PR #259 (merge f49dc86).

Fixed in PR #259 (merge f49dc86).
logan closed this issue 2026-10-05 03:11:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: logan/server-26#257