Invarn Docs

The Discord application

Create the application Invarn runs as.

Create it

At discord.com/developers/applications, create an application. Upload brand/dist/discord/avatar.png as its icon.

The bot

Under Bot, reset and copy the token, and turn on the Server Members and Message Content intents (logs and anti-nuke need them). Turn off Public Bot if only you should add it.

OAuth2

Under OAuth2, copy the client secret and add the redirect <INVARN_PUBLIC_URL>/auth/discord/callback. The dashboard builds the install link itself, with the permissions Invarn needs.

Interactions over HTTP (optional)

Under General Information, copy the public key. To answer interactions over HTTP, set the Interactions Endpoint URL to <INVARN_PUBLIC_URL>/interactions; Discord checks it when you save, so Invarn must already be running there.

On this page