Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计通过

discord-interactiveDiscord interactive 控制

Agent Skill

用于处理 Discord 服务器、频道、消息、成员和机器人交互。它适合让 Agent 辅助查询社区对话、整理频道内容、发布通知或管理基础协作流程。使用时需要确认 bot 权限、频道可见范围和服务器规则;涉及删除消息、管理成员、批量通知或读取私密频道时,应先获得明确授权并控制操作范围。

总安装

10,608

周安装

442

GitHub Stars

1

下载量

3,536
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:discord-interactive(Discord interactive 控制)
来源仓库:https://github.com/muselinn/discord-interactive
安装命令:
openclaw skills install discord-interactive
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install discord-interactive

简介

通过消息工具发送 Discord Components v2 交互式消息(按钮、选择、模式、丰富的布局)。

SKILL.md

name
discord-interactive
version
1.1.1
description
Send Discord Components v2 interactive messages (buttons, selects, modals, rich layouts) via the message tool.
read_when
metadata
openclaw
emoji
🔘
homepage
https://github.com/openclaw/openclaw

Discord Interactive Components (Components v2)

Send rich, interactive messages in Discord using the message tool's components parameter. This replaces plain text with buttons, select menus, modals, and structured layouts.

When to Use Components v2

ALWAYS prefer components over plain text when:

  • You need user confirmation → buttons (Yes/No, Approve/Reject)
  • You need user selection → select menus (agents, priorities, options)
  • You want structured information display → text blocks + sections + separators
  • You want to collect form data → modals with text inputs, selects, checkboxes
  • You want visual distinction → accent-colored containers

Use plain text when:

  • Simple conversational response, no actions needed
  • Quick one-liner answer

Quick Reference

The components parameter is an object with this structure:

{
  // Top-level fields
  text: "Optional top-level text (rendered as first TextDisplay)",
  reusable: true,  // Keep buttons/selects active for multiple clicks (default: single-use)
  container: {
    accentColor: "#3498db",  // Left border color (hex string or number)
    spoiler: false
  },
  // Content blocks (rendered in order inside the container)
  blocks: [
    { type: "text", text: "Markdown text block" },
    { type: "section", text: "Main text", accessory: { type: "thumbnail", url: "https://..." } },
    { type: "separator", spacing: "small", divider: true },
    { type: "actions", buttons: [{ label: "Click me", style: "success" }] },
    { type: "actions", select: { type: "string", placeholder: "Choose...", options: [...] } },
    { type: "media-gallery", items: [{ url: "https://...", description: "..." }] },
    { type: "file", file: "attachment://report.pdf" }
  ],
  // Optional modal form (auto-generates a trigger button)
  modal: {
    title: "Form Title",
    triggerLabel: "Open Form",
    fields: [{ type: "text", label: "Your name" }]
  }
}

Quick Start — Confirmation

// message tool call
{
  action: "send",
  channel: "discord",
  target: "channel:CHANNEL_ID",
  components: {
    text: "**Confirm action?**",
    reusable: false,
    container: { accentColor: "#3498db" },
    blocks: [
      {
        type: "actions",
        buttons: [
          { label: "Yes", style: "success" },
          { label: "No", style: "secondary" }
        ]
      }
    ]
  }
}

No custom_id needed — OpenClaw generates unique IDs automatically. When the user clicks, you receive a message like Clicked "Yes".

Key Differences from Raw Discord API

What you might expectWhat OpenClaw actually uses
type: "container" wrappercontainer: { accentColor: "..." } config object
type: "text_display"type: "text" in blocks
type: "action_row" with nested componentstype: "actions" with buttons or select
Manual custom_id on buttonsAuto-generated — just set label and style
accent_color: 0x3498dbaccentColor: "#3498db" (hex string preferred)
type: "string_select"select: { type: "string", ... } inside actions block

Block Types Summary

Block TypePurposeSee
textMarkdown textcomponents.md
sectionText + optional thumbnail/buttoncomponents.md
separatorDivider linecomponents.md
actionsButtons or select menucomponents.md
media-galleryImage gallerycomponents.md
fileFile attachmentcomponents.md

Handling Interactions

When a user clicks a button or selects an option, OpenClaw delivers it as a normal inbound message:

  • Button click → Clicked "Yes".
  • Select → Selected option_a from "Pick an option".

No special callback handling needed — just read the incoming message text. See handling.md for patterns.

Important Rules

  • No custom_id — OpenClaw auto-generates unique IDs for all interactive elements
  • No embeds — Components v2 and embeds cannot coexist in the same message
  • reusable: true — Set this to allow buttons/selects to be clicked multiple times
  • allowedUsers — Optionally restrict who can click a button (array of Discord user IDs)
  • Actions block — Must have EITHER buttons OR select, never both
  • Max 5 buttons per actions block, max 1 select per actions block

Examples

See references/examples.md for complete scenarios:

  • Yes/No confirmation
  • Agent/option selection
  • Status card with actions
  • Modal form collection
  • Multi-step workflow

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.59%
按下载量换算3,345

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills