codedao12

Discord

开发编程v1.1.0
作者:codedao12更新于 2026-05-11共 2 个版本 · 最新版本发布于 2026-02-05discord-hub@clawhub_codedao12/discord-hub
后端开发脚本工具#Discord

据 AlphaMoat 统计,截至 2026-09,Discord 累计下载 4,792 次、获 3 个星标,在全部 5,078 个 AI 技能中排名第 1,967 位,在「开发编程」分类(577 个)中排名第 253 位。

累计安装
152
累计下载
4,792
星标
3
全站排名
#1,967
全站前 39% · 「开发编程」前 44%
平台累计安装累计下载星标评论
ClawHub ↗1524,4582-
SkillHub ↗1504,7923—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文将其定位为 REST API 与 Interactions 的操作指南,涵盖命令设计、消息组件、webhook/gateway 选择、速率限制与请求模板;不面向完整 SDK 或大型媒体流式上传。使用需要 Bot token、应用 ID 及按场景配置的交互公钥和权限。必须验证交互签名、遵守速率限制,并避免记录 token 或密钥。 执行前审核请求:请求可能发布、编辑、删除或管理内容。

资料发布于 2026-10-29

可以用来做什么

  • 设计以 slash command 和 interaction 为主的 bot 流程
  • 规划 Discord API 请求、消息组件或交互响应
  • 梳理 token、权限范围、签名验证和速率限制要求

什么时候用

  • 需要使用 Discord REST API 构建 bot 工作流时
  • 已明确所需权限、交互范围和凭据保护方案时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

基于这份需求设计 Discord interaction 流程与安全检查清单;不要调用 API,也不要要求或输出 bot token。

月度数据趋势

累计下载4,792
3,0783,9994,9192026-03 · 累计下载 3,2052026-05 · 累计下载 3,8302026-06 · 累计下载 3,9602026-07 · 累计下载 4,2022026-08 · 累计下载 4,2862026-09 · 累计下载 4,79226-0326-09
星标3
2332026-03 · 星标 22026-05 · 星标 22026-06 · 星标 22026-07 · 星标 32026-08 · 星标 22026-09 · 星标 326-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。 该技能有同名的其他版本,调整前的数据归属当前下载量最大的这一个。

月份累计下载环比星标
2026-094,792—3
2026-084,286+2.0%2
2026-074,202+6.1%3
2026-063,960+3.4%2
2026-053,830—2
2026-033,205—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.0 KB · ClawHub v1.1.0
---
name: discord-hub
description: OpenClaw skill for Discord Bot API workflows, covering interactions, commands, messages, and operations using direct HTTPS requests.
---

# Discord Bot API Skill (Advanced)

## Purpose
Provide a production-oriented guide for building Discord bot workflows via the REST API and Interactions, focusing on professional command UX, safe operations, and direct HTTPS usage (no SDKs).
展开全部(共 48 行)
## Best fit
- You want command-first bot behavior and clear interaction flows.
- You prefer direct HTTP requests without a library dependency.
- You need a structured map of Discord API surfaces.

## Not a fit
- You need a full SDK or gateway client implementation.
- You plan to stream large media uploads directly.

## Quick orientation
- Read `references/discord-api-overview.md` for base URL, versioning, and object map.
- Read `references/discord-auth-and-tokens.md` for token types and security boundaries.
- Read `references/discord-interactions.md` for interaction lifecycle and response patterns.
- Read `references/discord-app-commands.md` for slash, user, and message commands.
- Read `references/discord-messages-components.md` for messages, embeds, and components.
- Read `references/discord-gateway-webhooks.md` for gateway vs webhook tradeoffs.
- Read `references/discord-rate-limits.md` for throttling and header-based handling.
- Read `references/discord-request-templates.md` for HTTP payload templates.
- Read `references/discord-feature-map.md` for the full surface checklist.

## Required inputs
- Bot token and application ID.
- Interaction endpoint public key (if using interaction webhooks).
- Command list and UX tone.
- Allowed intents and event scope.

## Expected output
- A clear bot workflow plan, command design, and operational checklist.

## Operational notes
- Prefer interactions and slash commands over prefix parsing.
- Always validate incoming interaction signatures.
- Keep payloads small and respond quickly to interactions.

## Security notes
- Never log tokens or secrets.
- Use least-privilege permissions and scopes.

「开发编程」分类下的热门技能

codedao12 的其他技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。