skillfed

discord

Automate Discord integrations using webhooks for one-way notifications, bot tokens for two-way control, or slash commands for user-invoked actions. The skill covers safe token handling, rate-limit management, and includes ready-to-use scripts for posting messages and managing channels.

Discord skill enables building bots, webhooks, slash commands, and REST API integrations for Discord servers.

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

130 58 MIT updated by OpenHands

Install

OpenHands/extensions/discord · repository language: Python

git clone https://github.com/OpenHands/extensions
cp -r extensions/skills/discord ~/.claude/skills/discord
npx skillfed install OpenHands/extensions/discord

Frequently asked questions

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

How do I create a Discord bot?

discord provides guidance on building bots using bot tokens for two-way control and slash commands for user-invoked actions. You'll register your bot in Discord's Developer Portal, obtain a token, and use it to authenticate API calls. discord covers safe token handling and rate-limit management to keep your bot reliable and secure.

What's the difference between webhooks and bot tokens in discord?

discord distinguishes two approaches: webhooks enable one-way notifications to channels without needing a bot account, while bot tokens provide two-way control—your bot can read messages, respond to commands, and manage server state. Webhooks are simpler for alerts; bot tokens are needed for interactive features like slash commands and channel management.

How do I send automated notifications and alerts to Discord?

discord supports multiple notification methods. Use webhooks for simple one-way alerts (fastest setup), or deploy a bot with token authentication to post messages programmatically. discord includes ready-to-use scripts for posting messages and managing channels, plus rate-limit management to prevent throttling when sending bulk alerts.

Can discord integrate with CI/CD pipelines and external services?

Yes. discord covers REST API calls and webhook integration patterns that let you post build status, deployment alerts, and service notifications directly to channels. The skill includes automation examples for connecting external systems—ideal for CI/CD notifications, monitoring dashboards, and cross-platform event routing.

What authentication methods does discord support?

discord covers bot token authentication for full API access and webhook URLs for one-way posting. Both methods are explained with safe handling practices: tokens should be stored in environment variables, never committed to version control. discord teaches rate-limit awareness and interaction validation to build production-ready integrations.

Does discord include examples for slash commands and server automation?

discord provides setup guidance for slash commands—user-invoked actions that appear in Discord's command menu—and server automation workflows. The skill covers channel management, message workflows, and interaction handling so you can build responsive bots that react to user input and automate routine server tasks.

SKILL.md

rendered from the published skill — quoted content, verbatim

Discord

Use this skill when implementing or automating Discord integrations.

Pick the right approach

  1. Incoming webhooks (best for one-way posting)
  2. Good for CI notifications, alerts, build status, etc.
  3. No bot user needed.
  4. See: https://discord.com/developers/docs/resources/webhook#execute-webhook

  5. Bot token + REST API (two-way / richer automation)

  6. Use when you need to post as a bot, manage channels, read history, moderate, etc.
  7. REST API base: https://discord.com/api/v10
  8. Most REST calls use Authorization: Bot <token>.

  9. Interactions / slash commands (user-invoked commands)

  10. Use application commands and interaction webhooks.
  11. Typically requires running a web server to receive interactions and respond quickly.

Secrets &

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

Read as markdown · JSON record · Browse the source repository

File tree — 11 files
skills/discord/.claude-plugin
skills/discord/.codex-plugin
skills/discord/.plugin/plugin.json
skills/discord/README.md
skills/discord/SKILL.md
skills/discord/__init__.py
skills/discord/references/REFERENCE.md
skills/discord/scripts/__init__.py
skills/discord/scripts/_http.py
skills/discord/scripts/post_webhook.py
skills/discord/scripts/send_message.py

Related skills

Tags

chat-platform-integration bot-development webhook-automation real-time-notifications api-orchestration command-interface rate-limit-handling oauth-authentication