Chat channels
Set up Discord
A Discord app your team uses with /ask — in servers and in DMs. Server answers are private to the asker by default (ephemeral), so document access never leaks to the room.
Before you start
- A Discord application at discord.com/developers (a couple of minutes) — note its Application ID and Public Key (General Information), and reset a Bot token (Bot → Reset Token).
- No privileged Discord intents needed: Discord posts signed interactions to this server, verified with the Public Key — the bot token itself only registers the slash commands (and carries plain-DM chat, if you turn that on).
- Chat channels → Discord: paste the Application ID, Public Key and Bot token. Create, then Test — this registers the /ask, /new and /help commands.
- Open Setup, copy the webhook URL, and paste it as the Interactions Endpoint URL (General Information) — Discord verifies it on the spot.
- Install the app to your server (Installation → copy the install link), and add people by Discord username in the people list.
How people use it
People ask with /ask question:… everywhere, including DMs. Switch “Plain direct messages” on and they can also just type in the bot's DMs without the slash command — the assistant holds an outbound connection to Discord for that, nothing else to configure. Add someone by Discord username (not their display name) and their first /ask completes the match; a numeric user ID links instantly.
Access
In DMs, and in a private (ephemeral) server reply, the asker is checked individually: their own account access, guest access groups if they haven't linked one, or a link prompt. “In servers, answers are” sets visibility, not access — private to the asker (default), public (still the asker's own access, but the whole room sees it), or DMs only. One wrinkle: an unlinked person's public /ask inside a server gets silence rather than a link prompt, since a room is never singled out with instructions — DM the bot, or ask privately, to link first.
Slash commands need no extra setup — Test itself registers /ask, /new and /help with Discord using the Application ID and Bot token; a wrong one of those is rejected immediately. The Public Key isn't exercised by Test at all — only once Discord starts sending real interactions does a mismatched key stop them verifying.
Last updated 20 Sep 2026