Agent 生成器
- 作者仓库星标 432
- 许可证 MIT
- 作者仓库 understudy
Discord (Via message_send)
Use the message_send tool. Understudy does not expose a separate provider-specific discord tool.
Musts
- Always:
channel: "discord". - Use the canonical
message_sendschema:recipient,text,threadId,replyTo,messageId,emoji,attachmentUrl,attachmentType,attachmentName,attachmentMimeType. - Prefer explicit ids in the recipient string when possible, for example
channel:1234567890oruser:1234567890.
Guidelines
- Avoid Markdown tables in outbound Discord messages.
- Mention users as
<@USER_ID>. - Keep Discord actions within the current Understudy tool surface. Do not invent unsupported fields such as
components,embeds,pollQuestion,thread-create,search, orset-presence.
Targets
- Send-like actions:
recipient: "channel:<id>"orrecipient: "user:<id>". - Message-specific actions: use
messageId, and includerecipientwhen the adapter needs target context.
Common Actions (Examples)
Send message:
{
"action": "send",
"channel": "discord",
"recipient": "channel:123",
"text": "hello"
}
Reply to a message:
{
"action": "reply",
"channel": "discord",
"recipient": "channel:123",
"replyTo": "456",
"text": "Thanks, looking now."
}
Send with attachment:
{
"action": "sendAttachment",
"channel": "discord",
"recipient": "channel:123",
"text": "see attachment",
"attachmentUrl": "/tmp/example.png",
"attachmentType": "image",
"attachmentName": "example.png"
}
{
"action": "edit",
"channel": "discord",
"recipient": "channel:123",
"messageId": "456",
"text": "fixed typo"
}
{
"action": "react",
"channel": "discord",
"recipient": "channel:123",
"messageId": "456",
"emoji": "✅"
}
{
"action": "delete",
"channel": "discord",
"recipient": "channel:123",
"messageId": "456"
}
If you need polls, search, thread creation, pins, moderation, or presence changes, tell the user the current Understudy tool surface does not expose those Discord-specific operations directly.
Writing Style (Discord)
- Short, conversational, low ceremony.
- No markdown tables.
- Mention users as
<@USER_ID>.
- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @understudy-ai · MIT
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 允许外网请求
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
# Common Actions (Examples)
{
"action": "send",
"channel": "discord",
"recipient": "channel:123",
"text": "hello"
} Always: channel: "discord". Use the canonical messagesend schema: recipient, text, threadId, replyTo, messageId, emoji, attachmentUrl, attachmentType, attachmentName, attachmentMimeType. Prefer explicit ids in the recipient string when possible, for example…
Avoid Markdown tables in outbound Discord messages. Mention users as <@USERID>. Keep Discord actions within the current Understudy tool surface. Do not invent unsupported fields such as components, embeds, pollQuestion, thread-create, search, or set-presence.
Send-like actions: recipient: "channel:<id>" or recipient: "user:<id>". Message-specific actions: use messageId, and include recipient when the adapter needs target context.
Send message: Reply to a message: Send with attachment:
Short, conversational, low ceremony. No markdown tables. Mention users as <@USERID>.
# Discord (Via `message_send`)
Use the `message_send` tool. Understudy does not expose a separate provider-specific `discord` tool.
## Musts
- Always: `channel: "discord"`.
- Use the canonical `message_send` schema: `recipient`, `text`, `threadId`, `replyTo`, `messageId`, `emoji`, `attachmentUrl`, `attachmentType`, `attachmentName`, `attachmentMimeType`.
- Prefer explicit ids in the recipient string when possible, for example `channel:1234567890` or `user:1234567890`.
## Guidelines
- Avoid Markdown tables in outbound Discord messages.
- Mention users as `<@USER_ID>`.
- Keep Discord actions within the current Understudy tool surface. Do not invent unsupported fields such as `components`, `embeds`, `pollQuestion`, `thread-create`, `search`, or `set-presence`.
## Targets
- Send-like actions: `recipient: "channel:<id>"` or `recipient: "user:<id>"`.
- Message-specific actions: use `messageId`, and include `recipient` when the adapter needs target context.
## Common Actions (Examples)
Send message:
```json
{
"action": "send",
"channel": "discord",
"recipient": "channel:123",
"text": "hello"
}
```
Reply to a message:
```json
{
"action": "reply",
"channel": "discord",
"recipient": "channel:123",
"replyTo": "456",
"text": "Thanks, looking now."
}
```
Send with attachment:
```json
{
"action": "sendAttachment",
"channel": "discord",
"recipient": "channel:123",
"text": "see attachment",
"attachmentUrl": "/tmp/example.png",
"attachmentType": "image",
"attachmentName": "example.png"
}
```
```json
{
"action": "edit",
"channel": "discord",
"recipient": "channel:123",
"messageId": "456",
"text": "fixed typo"
}
```
```json
{
"action": "react",
"channel": "discord",
"recipient": "channel:123",
"messageId": "456",
… 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Musts → Guidelines → Targets → Common Actions (Examples) → Writing Style (Discord)
要点 -> Use the messagesend tool. · - Always: channel: "discord". · - Avoid Markdown tables in outbound Discord messages. · - Send-like actions: recipient: "channel:<id>" or recipient: "user:<id>". · - Short, conversational, low ceremony.
文件/命令 -> messagesend · discord · channel: "discord" · recipient · text · threadId · replyTo · messageId
内容 SHA-256 -> d7e7493ea843
原文结构
适用与边界
原文中的明确线索
messagesend、discord、channel: "discord"、recipient、text、threadId、replyTo、messageId