/install discord-hub
Discord Bot API Skill (Advanced)
Purpose
Provide a production-oriented guide for building Discord bot workflows via the REST API and Interactions, focusing on professional command UX, safe operations, and direct HTTPS usage (no SDKs).
Best fit
- You want command-first bot behavior and clear interaction flows.
- You prefer direct HTTP requests without a library dependency.
- You need a structured map of Discord API surfaces.
Not a fit
- You need a full SDK or gateway client implementation.
- You plan to stream large media uploads directly.
Quick orientation
- Read
references/discord-api-overview.mdfor base URL, versioning, and object map. - Read
references/discord-auth-and-tokens.mdfor token types and security boundaries. - Read
references/discord-interactions.mdfor interaction lifecycle and response patterns. - Read
references/discord-app-commands.mdfor slash, user, and message commands. - Read
references/discord-messages-components.mdfor messages, embeds, and components. - Read
references/discord-gateway-webhooks.mdfor gateway vs webhook tradeoffs. - Read
references/discord-rate-limits.mdfor throttling and header-based handling. - Read
references/discord-request-templates.mdfor HTTP payload templates. - Read
references/discord-feature-map.mdfor the full surface checklist.
Required inputs
- Bot token and application ID.
- Interaction endpoint public key (if using interaction webhooks).
- Command list and UX tone.
- Allowed intents and event scope.
Expected output
- A clear bot workflow plan, command design, and operational checklist.
Operational notes
- Prefer interactions and slash commands over prefix parsing.
- Always validate incoming interaction signatures.
- Keep payloads small and respond quickly to interactions.
Security notes
- Never log tokens or secrets.
- Use least-privilege permissions and scopes.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install discord-hub - After installation, invoke the skill by name or use
/discord-hub - Provide required inputs per the skill's parameter spec and get structured output
What is Discord?
OpenClaw skill for Discord Bot API workflows, covering interactions, commands, messages, and operations using direct HTTPS requests. It is an AI Agent Skill for Claude Code / OpenClaw, with 3357 downloads so far.
How do I install Discord?
Run "/install discord-hub" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Discord free?
Yes, Discord is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Discord support?
Discord is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Discord?
It is built and maintained by codedao12 (@codedao12); the current version is v1.1.0.