Skip to main content

Discord

Deploy your bot to Discord using GoBotify’s interaction endpoint.

Prerequisites

  • Discord application with a bot token.
  • Application ID and public key.
  • Interaction endpoint URL: /integrations/discord/interactions.
  • Permissions: applications.commands and bot (add to server with a generated invite link).

Configure in GoBotify

  1. Choose Discord in the Configure step.
  2. Enter Bot token, Application ID, and Public key.
  3. Save to generate the interaction endpoint (defaults to your GoBotify API).

Discord developer portal

  1. In General Information, copy the Application ID and public key into GoBotify.
  2. In Bot, copy the bot token into GoBotify.
  3. In OAuth2 > URL Generator, select scopes bot and applications.commands; choose minimal permissions (Send Messages, Read Message History).
  4. Copy the invite URL, add the bot to your server.
  5. In Interactions Endpoint URL, set the GoBotify interaction URL.
  6. Re-register slash commands (/start, /ask) by saving/deploying in GoBotify.

Commands

  • /start — sends a friendly welcome + help text.
  • /ask <question> — routes to your knowledge base + personality pipeline for answers.

Test checklist

  • Run /start in your server to confirm the interaction is received.
  • Run /ask <question> that exists in your knowledge base to ensure grounded answers.
  • Try an out-of-scope question to see fallback/escalation behavior.
  • Keep tokens/private keys out of source control; rotate the bot token if leaked.