Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Walks through creating a Discord application, configuring its bot user and intents, and securely storing the bot token for the assistant.
32% 45%+14 ptsof test cases passed
Passed 10 of 22 test cases with the skill, and 7 of 22 without it.
This test ran on v3. v4 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
You are helping your user create a Discord application and connect a Discord bot to the assistant via the Discord Gateway. Walk through each step below.
CRITICAL: Follow these steps strictly in order. Do NOT combine steps, skip ahead, or ask for the bot token before the bot user has been configured. The token is shown only once after reset — collect it the moment the user generates it, never before.
| Value | Type | Secret? |
|---|---|---|
| Bot Token | Credential | Yes |
The Bot Token is the only value that needs to be persisted. Always collect it via the assistant's secure credential prompt — never accept it pasted in plaintext chat.
The Application ID and Public Key are derivable from the bot token at any time via Discord's API and do not need to be stored separately.
Before starting, run the check script:
bun skills/discord-app-setup/scripts/check-config.ts
The script outputs JSON: { "configured": boolean, "details": string, "error"?: string }.
error is present, stop. The check could not run, so the credential state is unknown, and configured: false here does not mean "not set up". Do not start the setup walkthrough. It will not fix this, and re-running setup on an app that already has a token forces a needless token reset that breaks any other deployment using it.
cli_not_found means the assistant command is missing from this environment's PATH. That is an installation problem. Report it as one, quote details, and stop.cli_failed or unparseable_output means the CLI ran but did not answer usefully. Report details verbatim and stop.configured is true — Discord is already set up. Offer to verify the connection or reconfigure.configured is false with no error, the check ran and found no token. Continue to Step 0.5.If an interactive client is connected, call ui_show with surface_type: "channel_setup" and data: { channel: "discord" }. This opens the Discord setup wizard in the side panel: create the app, connect the token through a masked field, add the bot to a server, and finish with a hand-back to identity verification, all without the token entering chat. The wizard is non-blocking and auto-notifies you when it is closed.
⚠️ Tool call first, announcement second, in the same turn. Do not claim the wizard is open until the ui_show call has returned success. After success, tell the user:
I've opened the Discord setup wizard in the side panel. It walks you through creating the app, connecting its bot token, and adding the bot to a server, and its last step hands verification back to me. It will notify me when you close it; ask me here if you hit a snag.
Next to this one in the catalogue, plus more from the same author.