← 返回
沟通协作 Key 中文

Discord Hub Builder

Build a complete Discord AI command center server from scratch using the Discord REST API. Use when a user wants to set up a professional Discord server for...
利用Discord REST API从零构建完整的Discord AI指挥中心服务器。适用于用户欲搭建专业Discord服务器...
calecorbett
沟通协作 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 597
下载
💾 5
安装
1
版本
#latest

概述

Discord Hub Builder

Builds a complete AI command center Discord server via API. No manual steps.

What Gets Built

Categories & Channels:

  • COMMAND CENTER → #daily-brief, #task-queue
  • AGENT CHANNELS → #agent-openclaw, #agent-perplexity, #agent-manus
  • RESEARCH & OUTPUTS → #financial-briefs, #content-drafts, #research-archive
  • OPERATIONS → #agent-logs, #ops-notes, #personal

Roles: Agent (blue), Reviewer (green)

Workflow Cards: Pinned in each agent channel with TOOL / TRIGGER / INPUT / OUTPUT / FREQUENCY

Prerequisites

Before running, confirm the user has:

  1. A Discord bot — created at https://discord.com/developers/applications
  2. Bot permissions: Manage Channels, Manage Roles, Send Messages, Manage Messages (for pinning)
  3. Bot invited to the server — use OAuth2 URL with bot scope + above permissions
  4. Guild ID — right-click server name → Copy Server ID (Developer Mode must be on)
  5. Bot token — from the Bot tab in developer portal

If the user doesn't have these, walk through setup before running.

Execution

Dry run first (always)

python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID --dry-run

Show the user the preview. Confirm before live run.

Live run

python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID

The script:

  • Creates roles (skips if already exist by name)
  • Creates all categories and channels
  • Posts and pins workflow cards in agent channels
  • Prints channel IDs on completion

After Build

Tell the user:

  1. Set channel-specific permissions manually for #task-queue (Owner-only send) and readonly channels — Discord's permission API requires role IDs which vary per server
  2. To add more agent channels: copy an existing agent channel block in the script and re-run
  3. Workflow cards can be edited by finding the pinned message in each agent channel

Error Handling

If the script fails mid-run:

  • Re-running is safe — roles skip if they exist by name
  • Channels don't have dedup logic; re-run will create duplicates — delete extras manually or use the dry-run to check state first
  • Rate limit errors (429): add time.sleep(1) between calls or wait and retry

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 19:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

communication-collaboration

imap-smtp-email

gzlicanyi
使用IMAP/SMTP读取和发送邮件;检查新/未读邮件、获取内容、搜索邮箱、标记已读/未读、发送带附件的邮件。支持...
★ 113 📥 52,385
communication-collaboration

Himalaya

lamelas
{"answer":"通过IMAP/SMTP管理邮件的CLI。可在终端使用 `himalaya` 收发、回复、转发、搜索及整理邮件。支持多账户与MML(MIME元语言)编写邮件。"}
★ 68 📥 45,577
communication-collaboration

Slack

steipete
当需要通过 slack 工具从 Clawdbot 控制 Slack 时使用,包括在频道或私信中回复消息或置顶/取消置顶项目。
★ 157 📥 47,670