跳到正文
Skillpedia
邮件与消息394k · #18

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/openclaw/openclaw/blob/main/extensions/discord/skills/discord/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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, and userId values from context. Pass accountId when 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 账号怎么办?

它会要求你指定账号,而不会自己猜测使用哪一个。

它能发送按钮吗?

可以。账号支持时,消息可以包含按钮等交互组件。

详情

作者的原始描述

Discord messaging workflows through OpenClaw's message tool.

repo: openclaw/openclaw

热度

GitHub 星标
394k
排名
#18
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能