Self-serve UX: name the approval bot in the link pending-code reply #80
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dark/nether-voicebridge#80
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during #76 manual
/bridge approvevalidation.Problem
The pending-link reply (
handle_link,crates/matrix-rtc/src/mgmt.rs~1441) tells the requester to run/bridge approve code:NVB-XXXXXX, but does not say which bot to run it on./bridgeis a global slash command registered by one designated bot per deployment, so if a guild contains that command from more than one application (e.g. a prod deployment's #63 opt-out bot plus another instance's approval bot), a Manage-Server user can runapproveon the wrong bot.Impact
/bridgeappeared from two bots in the same guild, and the approver picked the wrong one first.Fix
Plumb the configured approval bot (
[management] approval_bot_index) name/mention into the pending reply: "...run/bridge approve code:Xon @". The bridge already knows the index; the puppet pool needs to expose that bot's display name / id to the management reply path.Also
/bridgehere)./bridgefor the hosted instance.Pre-public-launch polish -- track alongside #77/#78 on the open-registration path (#76 is done + merged,
8f23abf).Fixed + shipped in v0.3.0-alpha.21 (master
a99e337, deployed to prod 2026-07-11). Thelinkpending-code reply now names the approval bot via a new optional[management] approval_bot_name(the mgmt bot cannot learn the approval bot's live Discord username — only logged on the Discord side, no discord→mgmt identity channel, and it would race startup — so the operator supplies it). The reply also now points at theapplications.commandsscope when/bridgedoes not appear in the guild, which is the real failure mode (since/bridgeis a single global command that auto-resolves to the one registering app). Out of scope: delivering the live username (would need pool-side retention + a new identity channel).