Discord
Add your AI Bot Kit chatbot to a Discord server. Members can use the /ask slash command in any channel the bot has access to and get the same trained responses as your website widget.
What you need
A Discord server where you have Manage Server permission
A paid plan (Basic, Essential, or Business)
Create a Discord application
Go to discord.com/developers/applications → New Application.
Give it a name and click Create.
Under Bot → Token, click Reset Token and copy the bot token.
Under General Information, copy the Application ID and Public Key.
Under Bot → Privileged Gateway Intents, enable Message Content Intent.
Connect to AI Bot Kit
Open your chatbot → INTEGRATIONS → Discord.
Paste the Bot Token, Application ID, and Public Key.
Click Connect Discord.
After connecting, you'll see steps to set the Interactions Endpoint URL and invite the bot to your server.
In the developer portal, generate an OAuth2 invite link with
botandapplications.commandsscopes (and theSend Messages+Read Message Historypermissions). Use it to add the bot to your server.
When connected, you'll see:
Feature bullets:
Ed25519 verified -- Cryptographically secure interaction verification
Instant replies -- Your bot responds in real time
Any Discord server -- Works in any server you have access to
How members use it
In any channel where the bot has access:
The bot replies in the same channel with the AI-generated answer. The interaction is initially deferred (Discord's "thinking…" state), then edited with the final response — typically under 5 seconds.
What happens behind the scenes
Discord POSTs interaction events to
/api/discord/callback. The handler verifies the Ed25519 signature using your Public Key.The session ID is
discord_<user-id>— per-user threads, not per-channel.Replies are sent via Discord's REST API as interaction follow-ups.
Tips
Slash commands take time to propagate. After saving credentials, give Discord up to an hour to make
/askavailable globally.Per-server toggling: the bot is on for every server it's added to. To exclude a server, kick the bot from it.
One application per chatbot. AI Bot Kit detects token reuse and asks you to confirm a transfer.
Limits
Counts toward your Monthly AI Messages quota.
Discord enforces its own per-channel rate limits; AI Bot Kit defers replies to stay within them.
Last updated