Discord
Operators get their arming codes as DMs from the Outis bot, and /outis shows each of them what’s waiting on their key. The integration provides no actions of its own.
How a request gets in
Section titled “How a request gets in”It doesn’t. Requests come from your integrations (GitHub, HCP Terraform and the like), from your own code through POST /v1/requests, or from a rehearsal on the dashboard. Discord is where the arming code lands when one of them needs your key.
/outis
Section titled “/outis”Every answer goes only to the person who ran the command, and pings nobody. /outis works in servers your organization connected, not in DMs with the bot.
/outisshows your status: the requests waiting on your key, with the action, who asked, how long ago and a link to each one on the dashboard, plus anything you asked for or turned a key on that got decided in the last day. Each list shows five at most and counts the rest. If your Discord account isn’t linked yet, it tells you how to link it./outis loginreplies with the dashboard page where you link your Discord account. It links nothing by itself./outis help, or anything else, explains what the command does. Discord takes these in the command’s one option,topic.
A code reaches an operator as a DM, so the account has to be linked first. From the dashboard, an operator presses LINK DISCORD on their own row and signs in with Discord. Outis asks for identify, to read who you are, and guilds.members.read, to check that you’re in one of your organization’s connected servers. It doesn’t read your server list.
The DM shows the whole operation before the code: who asked and their summary, both labeled as the requester’s own words, then every param, key and value in full, sorted by key. A value with anything outside plain ASCII also shows its escaped form underneath, so a lookalike letter or a hidden character can’t pass for something else. Then the payload digest, exactly as your device shows it under DIG, so you can match the two before you press anything. The code comes last.
The summary and the params sit in code blocks, so nothing in them renders as formatting, a mention or a link, and nothing anywhere in the DM pings anyone. Discord caps a message at 2,000 characters, so a long operation arrives as several messages in a row instead of getting cut off. The code is always in the last one.
Once a request is decided, the operators who turned their keys get a DM with the outcome.
The bot can only DM someone it shares a server with. If you’ve turned off DMs from server members, turn them back on for the server the bot is in, or Outis sends your codes to your next channel instead.
Servers and organizations
Section titled “Servers and organizations”Each organization adds the Outis bot to its own server from the dashboard. The bot asks for no permissions: it doesn’t read or post in channels, and it’s there only so it can DM the people in the server. An organization may connect more than one server, and an operator’s link counts only in the server it was proven in.
Only someone who runs the server can connect it. Outis takes the server from Discord’s own answer to the install, never from the redirect, then checks that the person who installed the bot owns the server or has Manage Server or Administrator there. If they don’t, nothing is connected, and the error is the same whatever the reason. Outis doesn’t ask for your server list to do this; the bot reads that one server and your roles in it. An interaction’s server names the organization, and /outis shows you only that organization’s requests. A command from a server nobody has connected gets an answer and shows nothing.
Setting up the Discord app
Section titled “Setting up the Discord app”This is for whoever runs the Outis server. On the app’s Installation page:
- Installation Contexts: tick Guild Install only.
- Install Link: leave it at None. Servers connect from the dashboard, which ties each one to an organization.
The scopes come from the link Outis builds, not from the portal: bot, applications.commands and identify, with permissions 0 and integration_type=0. /outis registers itself at startup for servers, so the next restart rolls out any change. Nothing changes on the OAuth2 page.
Signatures
Section titled “Signatures”Discord signs every interaction with the app’s Ed25519 key, over the X-Signature-Timestamp header and the raw body. Outis checks the signature and its freshness, five minutes either way, before it reads anything, and answers a bad signature with 401.