skillfed

discord-app-setup

Discord App Setup walks you through creating a Discord application, configuring bot intents, securely storing your bot token, and inviting the bot to your server. The skill handles each phase in strict order—from application creation through intent enablement to OAuth authorization—ensuring your bot connects reliably to the Discord Gateway.

Discord App Setup guides you through creating a Discord bot application and connecting it to your assistant via the Discord Gateway.

AI-generated summary based on this skill's SKILL.md

951 145 MIT updated by vellum-ai

Install

vellum-ai/vellum-assistant/discord-app-setup · repository language: TypeScript

git clone https://github.com/vellum-ai/vellum-assistant
cp -r vellum-assistant/skills/discord-app-setup ~/.claude/skills/discord-app-setup
npx skillfed install vellum-ai/vellum-assistant/discord-app-setup

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

How do I connect a Discord bot to an assistant via the Discord Gateway?

Discord App Setup guides you through creating a Discord application, configuring privileged intents, and securely storing your bot token to establish a reliable connection to the Discord Gateway. The skill walks through each phase in strict order—from application creation through intent enablement to OAuth authorization—ensuring your bot connects reliably and your assistant can receive and respond to Discord events.

What are the steps to create a Discord application and configure intents?

Discord App Setup handles application creation by walking you through the Discord Developer Portal, then guides you to enable the intents your bot needs. You'll configure privileged intents securely, generate and store your bot token safely, and set the appropriate permissions before inviting the bot to your server. Each phase follows in strict order to prevent misconfiguration.

How do I set up a Discord bot token and store it securely?

Discord App Setup teaches you to generate your bot token from the Discord Developer Portal and store it securely using environment variables or a secrets manager rather than hardcoding it. The skill emphasizes token security throughout the setup process to protect your bot from unauthorized access and ensure safe authentication with the Discord Gateway.

How do I add a bot to a Discord server with the right permissions?

Discord App Setup generates an OAuth invite URL with the scopes and permissions your bot needs, then walks you through adding it to your server. The skill ensures you select appropriate permissions during the invite process so your bot can perform its intended functions without requesting excessive access to your guild.

What should I do if my Discord bot token validation fails?

Discord App Setup includes troubleshooting guidance for token validation errors and common bot configuration issues. Check that your token is stored correctly, hasn't been regenerated, and matches the bot you're trying to connect. The skill helps you verify intent configuration and OAuth settings if your bot fails to authenticate with the Discord Gateway.

Does Discord App Setup support privileged intents like message content?

Yes. Discord App Setup guides you through enabling privileged intents securely, including the message content intent and server member intent. The skill explains which intents your bot needs, how to enable them in the Developer Portal, and how to configure them safely to ensure your bot receives the events required for your assistant's functionality.

SKILL.md

rendered from the published skill — quoted content, verbatim

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 Classification

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

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 7 files
skills/discord-app-setup/SKILL.md
skills/discord-app-setup/assets/icon.svg
skills/discord-app-setup/references/troubleshooting.md
skills/discord-app-setup/scripts/check-config.ts
skills/discord-app-setup/scripts/print-invite-url.ts
skills/discord-app-setup/scripts/store-bot-token.ts
skills/discord-app-setup/scripts/validate-token.ts

Related skills

Tags

oauth-authorization bot-credentials gateway-protocol privileged-intents server-integration token-management discord-api bot-permissions secure-storage