Home / Formulas / Discord

Discord

discord

Authenticate with Discord using OAuth authorization code flow. Access guilds, channels, and messages.

🔐 Authentication Methods

oauth
OAuth
authorize: https://discord.com/oauth2/authorize
token: https://discord.com/api/oauth2/token
Scope: identify guilds messages.read
  • Create a new application
  • Go to OAuth2 > URL Generator or General
  • Add redirect URI http://localhost:8080/callback
  • Copy Client ID and Client Secret
bot
Bot Token
  • Create or select a bot application
  • Go to Bot section
  • Click 'Reset Token' if needed
  • Copy the bot token

👤 Identity

Bot: e.g., personal, server name

🌐 APIs

rest
Base URL: https://discord.com/api/v10
Auth Header: Authorization: Bearer {token}
Spec Type: openapi
Methods: oauth bot

📦 Public Clients

These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.

discord-cli
Client ID: 1234567890123456789
Methods: oauth
$ schlussel run discord
← Back to all formulas