discord
它能做什么
它指导 AI 智能体完成 Discord 操作,例如发送消息、在话题串中回复以及添加表情回应,并使用 OpenClaw 的消息工具。它适合在 OpenClaw 环境中使用 Discord 的人。
适用场景
- ✓想让智能体向 Discord 频道发送消息的时候。
- ✓需要在 Discord 话题串中回复或编辑已有消息的时候。
- ✓想在 Discord 中发布带按钮或选项的消息的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/extensions/discord/skills/discord/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我们的 Discord 团队频道里发一条提醒,告诉大家明天开会的事。”
每周 5 个新技能,1 分钟读完。
工作原理
技能通过 OpenClaw 的消息工具操作该 Discord 频道。它先确定具体消息或频道,并在执行删除或管理操作前先请你确认。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Discord
Use the message tool with channel: "discord". The tool schema lists the actions enabled by the current account's channels.discord.actions.* gates; do not assume unavailable actions.
Workflow
- Prefer stable
guildId,channelId,messageId, anduserIdvalues from context. PassaccountIdwhen more than one Discord account could apply. - Resolve the exact message before editing, deleting, pinning, moderating, or reacting when the user's reference is ambiguous.
- Keep thread replies in their existing thread. A forum parent cannot receive components; send components to the created forum thread instead.
- Confirm destructive or moderation actions unless the user already specified the exact target and action.
Interactive components
components must be a structured object or native component array, never a placeholder string. Do not combine components v2 with legacy embeds.
{
"action": "send",
"channel": "discord",
"to": "channel:123",
"message": "Choose an option",
"components": {
"blocks": [
{
"type": "actions",
"buttons": [
{ "label": "Approve", "style": "success", "callbackData": "approve" },
{ "label": "Decline", "style": "danger", "callbackData": "decline" }
]
}
]
}
}
Discord mention syntax, component availability, and form hints are injected automatically. Follow the current hints and tool schema rather than a duplicated action catalog.
常见问题
它会自行删除消息吗?
在执行删除或管理操作前,它会先请你确认,除非你已经明确指出了具体目标。
如果我有多个 Discord 账号怎么办?
它会要求你指定账号,而不会自己猜测使用哪一个。
它能发送按钮吗?
可以。账号支持时,消息可以包含按钮等交互组件。
详情
热度
- GitHub 星标
- 394k
- 排名
- #18
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。