From dispatch-discord
Create and configure a Discord bot for Claude Code. Use when the user wants to set up a new Discord bot, connect to a Discord server, configure Discord integration, or troubleshoot Discord token issues.
npx claudepluginhub runbear-io/skills --plugin dispatch-discordThis skill is limited to using the following tools:
Set up a Discord bot that connects to a server and routes messages through Claude Code via the Agent SDK.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
Set up a Discord bot that connects to a server and routes messages through Claude Code via the Agent SDK.
cd "$SKILL_DIR/../dispatch-discord" && npm install
If the user passed a bot token as $ARGUMENTS, skip to Step 5.
Otherwise, guide the user through the Discord Developer Portal:
Store it:
node ${CLAUDE_SKILL_DIR}/scripts/store-env.js DISCORD_APPLICATION_ID <application-id>
On the same Bot tab, scroll to Privileged Gateway Intents and enable:
node ${CLAUDE_SKILL_DIR}/scripts/store-env.js DISCORD_BOT_TOKEN <bot-token>
Generate and open the invite URL:
node ${CLAUDE_SKILL_DIR}/scripts/generate-invite-url.js
This outputs a URL. Ask the user to open it in their browser, select a server, and authorize.
Tell the user to run /dispatch-discord:dispatch to start the bot.
After setup, the user can customize bot behavior with env vars:
CLAUDE_CWD — Working directory for Claude Code (defaults to project root)CLAUDE_SYSTEM_PROMPT — Custom system prompt for the bot's Claude instanceCommon issues: