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...
Builds a complete AI command center Discord server via API. No manual steps.
Categories & Channels:
Roles: Agent (blue), Reviewer (green)
Workflow Cards: Pinned in each agent channel with TOOL / TRIGGER / INPUT / OUTPUT / FREQUENCY
Before running, confirm the user has:
Manage Channels, Manage Roles, Send Messages, Manage Messages (for pinning)bot scope + above permissionsIf the user doesn't have these, walk through setup before running.
python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID --dry-run
Show the user the preview. Confirm before live run.
python3 scripts/build_hub.py --token BOT_TOKEN --guild GUILD_ID
The script:
Tell the user:
#task-queue (Owner-only send) and readonly channels — Discord's permission API requires role IDs which vary per serverIf the script fails mid-run:
time.sleep(1) between calls or wait and retryZIP package — ready to use