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
累計下載
4792
星標
3
全站排名
#1,967
全站前 39% · 「開發程式設計」前 44%
平台累計安裝累計下載星標評論
ClawHub ↗15244582-
SkillHub ↗15047923—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文將其定位為 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。

月度資料趨勢

累計下載4792
3078399949192026-03 · 累計下載 32052026-05 · 累計下載 38302026-06 · 累計下載 39602026-07 · 累計下載 42022026-08 · 累計下載 42862026-09 · 累計下載 479226-0326-09
星標3
2332026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 32026-08 · 星標 22026-09 · 星標 326-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。 該技能有同名的其他版本,調整前的資料歸屬當前下載量最大的這一個。

月份累計下載環比星標
2026-094792—3
2026-084286+2.0%2
2026-074202+6.1%3
2026-063960+3.4%2
2026-053830—2
2026-033205—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),按月更新。口徑說明見資料方法。