What problem does it solve? Setting up a Discord bot involves many error-prone manual steps across the Discord Developer Portal: creating an application, enabling privileged gateway intents, generating a one-time-view bot token, and building a correct OAuth2 invite URL. This Skill walks the user through each step in strict order and automates the credential storage, token validation, and invite URL generation. ## Core Features & Use Cases - Guided Step-by-Step Setup: Walks the user through application creation, privileged intent configuration (Message Content, Server Members), token generation, and server invitation in a strict sequence. - Secure Credential Handling: Collects the bot token only through the assistant's secure credential prompt and stores it under discord_channel:bot_token, never accepting tokens pasted in plaintext chat. - Token Validation & Identity Discovery: Validates the stored token against Discord's REST API (/users/@me, /oauth2/applications/@me) and derives the application ID and public key on demand. - Least-Privilege Invite URL: Generates an OAuth2 invite URL with a minimal permission integer, deliberately excluding Administrator and other sensitive permissions. - Use Case: A user wants their personal assistant to read and respond to messages in their Discord server. The Skill checks existing configuration, guides portal setup, securely stores the token, validates it, and produces the invite link. ## Quick Start Ask the assistant to set up the Discord integration and follow the guided steps to create the application, configure intents, store the bot token, and invite the bot to your server.