smallnest/goclaw/discord
- community
Checking that the SKILL.md file is still in the repository.
Use when you need to control Discord from OpenClaw via the discord tool: send messages, react, post or upload stickers, upload emojis, run polls, manage threads/pins/search, create/edit/delete channels and categories, fetch permissions or member/role/channel info, set bot presence/activity, or handle moderation actions in Discord DMs or channels.
Install
npx vskill@latest install smallnest/goclaw/discordSKILL.md
Discord Actions
Overview
Use discord to manage messages, reactions, threads, polls, and moderation. You can disable groups via discord.actions.* (defaults to enabled, except roles/moderation). The tool uses the bot token configured for OpenClaw.
Inputs to collect
- For reactions:
channelId,messageId, and anemoji. - For fetchMessage:
guildId,channelId,messageId, or amessageLinklikehttps://discord.com/channels/<guildId>/<channelId>/<messageId>. - For stickers/polls/sendMessage: a
totarget (channel:<id>oruser:<id>). Optionalcontenttext. - Polls also need a
questionplus 2–10answers. - For media:
mediaUrlwithfile:///pathfor local files orhttps://...for remote. - For emoji uploads:
guildId,name,mediaUrl, optionalroleIds(limit 256KB, PNG/JPG/GIF). - For sticker uploads:
guildId,name,description,tags,mediaUrl(limit 512KB, PNG/APNG/Lottie JSON).
Message context lines include discord message id and channel fields you can reuse directly.
Note: sendMessage uses to: "channel:<id>" format, not channelId. Other actions like react, readMessages, editMessage use channelId directly. Note: fetchMessage accepts message IDs or full links like https://discord.com/channels/<guildId>/<channelId>/<messageId>.
Actions
React to a message
List reactions + users
Send a sticker
- Up to 3 sticker IDs per message.
tocan beuser:<id>for DMs.
Upload a custom emoji
- Emoji images must be PNG/JPG/GIF and <= 256KB.
roleIdsis optional; omit to make the emoji available to everyone.
Upload a sticker
- Stickers require
name,description, andtags. - Uploads must be PNG/APNG/Lottie JSON and <= 512KB.
Create a poll
durationHoursdefaults to 24; max 32 days (768 hours).
Check bot permissions for a channel
Ideas to try
- React with ✅/⚠️ to mark status updates.
- Post a quick poll for release decisions or meeting times.
- Send celebratory stickers after successful deploys.
- Upload new emojis/stickers for release moments.
- Run weekly “priority check” polls in team channels.
- DM stickers as acknowledgements when a user’s request is completed.
Action gating
Use discord.actions.* to disable action groups:
reactions(react + reactions list + emojiList)stickers,polls,permissions,messages,threads,pins,searchemojiUploads,stickerUploadsmemberInfo,roleInfo,channelInfo,voiceStatus,eventsroles(role add/remove, defaultfalse)channels(channel/category create/edit/delete/move, defaultfalse)moderation(timeout/kick/ban, defaultfalse)presence(bot status/activity, defaultfalse)
Read recent messages
Fetch a single message
Send/edit/delete a message
With media attachment:
touses formatchannel:<id>oruser:<id>for DMs (notchannelId!)mediaUrlsupports local files (file:///path/to/file) and remote URLs (https://...)- Optional
replyTowith a message ID to reply to a specific message
Threads
Pins
Search messages
Member + role info
List available custom emojis
Role changes (disabled by default)
Channel info
Channel management (disabled by default)
Create, edit, delete, and move channels and categories. Enable via discord.actions.channels: true.
Create a text channel:
type: Discord channel type integer (0 = text, 2 = voice, 4 = category; other values supported)parentId: category ID to nest under (optional)topic,position,nsfw: optional
Create a category:
Edit a channel:
- Supports
name,topic,position,parentId(null to remove from category),nsfw,rateLimitPerUser
Move a channel:
parentId: target category (null to move to top level)
Delete a channel:
Edit/delete a category:
Voice status
Scheduled events
Moderation (disabled by default)
Bot presence/activity (disabled by default)
Set the bot's online status and activity. Enable via discord.actions.presence: true.
Discord bots can only set name, state, type, and url on an activity. Other Activity fields (details, emoji, assets) are accepted by the gateway but silently ignored by Discord for bots.
How fields render by activity type:
- playing, streaming, listening, watching, competing:
activityNameis shown in the sidebar under the bot's name (e.g. "with fire" for type "playing" and name "with fire").activityStateis shown in the profile flyout. - custom:
activityNameis ignored. OnlyactivityStateis displayed as the status text in the sidebar. - streaming:
activityUrlmay be displayed or embedded by the client.
Set playing status:
Result in sidebar: "with fire". Flyout shows: "Playing: with fire"
With state (shown in flyout):
Result in sidebar: "My Game". Flyout shows: "Playing: My Game (newline) In the lobby".
Set streaming (optional URL, may not render for bots):
Set listening/watching:
Set a custom status (text in sidebar):
Result in sidebar: "Vibing". Note: activityName is ignored for custom type.
Set bot status only (no activity/clear status):
Parameters:
activityType:playing,streaming,listening,watching,competing,customactivityName: text shown in the sidebar for non-custom types (ignored forcustom)activityUrl: Twitch or YouTube URL for streaming type (optional; may not render for bots)activityState: forcustomthis is the status text; for other types it shows in the profile flyoutstatus:online(default),dnd,idle,invisible
Discord Writing Style Guide
Keep it conversational! Discord is a chat platform, not documentation.
Do
- Short, punchy messages (1-3 sentences ideal)
- Multiple quick replies > one wall of text
- Use emoji for tone/emphasis 🦞
- Lowercase casual style is fine
- Break up info into digestible chunks
- Match the energy of the conversation
Don't
- No markdown tables (Discord renders them as ugly raw
| text |) - No
## Headersfor casual chat (use bold or CAPS for emphasis) - Avoid multi-paragraph essays
- Don't over-explain simple things
- Skip the "I'd be happy to help!" fluff
Formatting that works
- bold for emphasis
codefor technical terms- Lists for multiple items
- > quotes for referencing
- Wrap multiple links in
<>to suppress embeds
Example transformations
❌ Bad:
✅ Good:
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/builtin_skills/discord/SKILL.md
Popularity
- Repository stars
- 599
- Repository forks
- 119
- 7-day trend score
- 32
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/smallnest/goclaw/discord)