Discord — OpenClaw Skill
Discord operations: messages, polls, threads, reactions, pins, search, and presence.
What This Skill Does
The Discord skill lets your OpenClaw agent interact with Discord servers through the message tool. Your agent can send messages to channels and DMs (with text, media attachments, embeds, or rich components v2), create polls, start and manage threads, react with emoji, pin and unpin messages, search channel history across a server, read recent messages, edit and delete messages, and set the bot's presence status.
The skill operates through OpenClaw's unified message tool with channel: "discord" routing. It supports Discord's component v2 system for rich UI elements like containers and text displays, making it possible to send structured, visually appealing responses. For more traditional formatting, legacy embeds are also supported. The skill respects action group gating -- moderation, roles, presence, and channel management actions are disabled by default for safety and can be individually enabled.
Multi-account support is built in: if you have multiple Discord bots configured, you can specify which account to use with the accountId parameter. The skill follows Discord's style conventions automatically -- short and conversational messages, no markdown tables, proper user mentions with <@USER_ID> format.
Example Prompts
Send a message to #announcements saying "Version 3.0 is live! Check out the changelog at docs.example.com"
Create a poll in #team-lounge asking "Where should we have the team offsite?" with options: Austin, Denver, Portland, and Nashville. Let it run for 48 hours.
Start a thread on the last message in #bug-reports called "Critical: Payment processing timeout" and post an initial summary of the issue
Search the #engineering channel for any messages mentioning "database migration" in the last 2 weeks and summarize the discussion
React with a thumbs-up emoji to the latest message from @Sarah in #design-feedback
Read the last 30 messages in #support and identify any unresolved customer issues that need attention
Pin the release notes message in #releases so the team can find it easily
Send a silent DM to the new hire welcoming them to the server with links to our onboarding docs
Requirements
Configuration dependency: channels.discord.token must be set in your OpenClaw config with a valid Discord bot token.
- Discord bot: Create an application at discord.com/developers, add a bot, and copy the token
- Bot permissions: Send Messages, Read Message History, Add Reactions, Manage Messages (for pins), Create Public Threads
- Server access: Invite the bot to your server with the required permissions
Setup on KiwiClaw
This skill is pre-installed and configured on all KiwiClaw plans. Add your Discord bot token in the KiwiClaw dashboard settings and your agent can immediately start interacting with your Discord server. No additional configuration needed.
Setup Self-Hosted
- Create a Discord application at discord.com/developers/applications
- Add a bot to the application and copy the bot token
- Configure
channels.discord.tokenin your OpenClaw config - Generate an invite link with required permissions and invite the bot to your server
- Optionally enable additional action groups (moderation, roles, presence) in the config
Related Skills
- Slack -- similar messaging automation for Slack workspaces
- GitHub -- post commit/PR notifications to Discord channels
- OpenAI Image Gen -- generate images and share them directly in Discord
- Weather -- let community members ask for weather forecasts in chat
FAQ
What can the Discord skill do in OpenClaw?
The Discord skill lets your OpenClaw agent send messages (with text, media, embeds, or rich components), create polls, manage threads, react with emoji, pin messages, search channel history, set bot presence, and read recent messages -- all from natural language commands.
Does the Discord skill require a Discord bot token?
Yes. You need to create a Discord bot, get its token, and configure it in channels.discord.token in your OpenClaw config. On KiwiClaw, you add the token once in the dashboard settings.
Can the Discord skill moderate my server?
The skill supports moderation actions, but they are gated (disabled by default) for safety. You can enable moderation, roles, presence, and channel management action groups individually in your OpenClaw config.
Does the Discord skill support slash commands?
The Discord skill works through OpenClaw's message tool, not Discord slash commands. Your agent responds to mentions and messages in channels where the bot is active. This is more flexible than slash commands since you can use natural language.