Discord
The person's Discord account and servers, and installing a bot in a server.
The person's Discord account and servers, and installing a bot in a server.
Connect accounts
Each person connects their own Discord account in the Gateway, once, and every app that asks uses it. Apps never see the tokens. How connecting works
The redirect URI to register, with your Gateway's address (like apps.example.com):
https://<your gateway>/connect/discord/callbackPosting as the bot uses the bot's own token, an app secret the Gateway doesn't hold. Not yet tried against a live connect.
- Open discord.com and create an OAuth app (also called a client or an integration).
- Add the redirect URI above.
- Copy the client ID and client secret. The secret is often shown only once.
Add it to your Gateway. It asks for the client ID and secret:
everyapp provider add discordOr add it in Manage workspace → Providers.
Use it in an app
capabilities: {
discord: { access: "read", scopes: ["servers.read"], why: "What the app does with it." },
},Apps ask for these scope sets:
| Set | Allows | Provider scopes |
|---|---|---|
identity | Discord account (who you are) | identify |
servers.read | Servers you are in (read) | identify, guilds |
bot.write | Add the bot to a server | identify, guilds, bot |
Check it worked: everyapp provider show discord shows the client as set. Then open the account menu → Connected accounts → Connect Discord.
Something wrong or missing? Open an issue.