Files
claudetools/fleet/DISCORD_BOT_SETUP.md
OC-5070 c51cdbdabc Add fleet setup: Mac OpenClaw deployment scripts and workspace templates
- mac-setup.sh: Install script for OpenClaw on MacBook Air
- mac-workspace/: BOOTSTRAP.md, SOUL.md, USER.md templates
- DISCORD_BOT_SETUP.md: Guide for creating Discord bots per machine
- README.md: Fleet overview and deployment instructions

Part of multi-machine OpenClaw network (OC-5070, OC-Mac, OC-Beast)
2026-03-24 15:29:16 -07:00

1.9 KiB

Discord Bot Setup for Fleet Machines

Each OpenClaw instance gets its own Discord bot for independent identity.

Creating a New Discord Bot

  1. Go to https://discord.com/developers/applications
  2. Click "New Application" -> name it (e.g., OC-Mac, OC-Beast)
  3. Go to Bot tab -> "Reset Token" -> copy the token
  4. Under Privileged Gateway Intents, enable:
    • Message Content Intent
    • Server Members Intent
  5. Save token in 1Password (Infrastructure vault)

Inviting to Server

Replace CLIENT_ID with the Application ID from General Information tab:

https://discord.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot+applications.commands&permissions=277025770560

This grants: read/send messages, manage messages, create threads, slash commands, reactions, attachments.

Pick "Arizona Computer Guru" server and authorize.

Configuring OpenClaw

After onboarding, set the Discord token:

openclaw config set channels.discord.enabled true
openclaw config set channels.discord.token "BOT_TOKEN_HERE"
openclaw config set channels.discord.groupPolicy allowlist
openclaw config set channels.discord.streaming off
openclaw config set 'channels.discord.guilds' '{"*":{}}'
openclaw gateway restart

Or retrieve from 1Password and set in one shot:

TOKEN=$(op item get "Discord Bot Token: OC-Mac" --vault "Infrastructure" --fields label=credential --reveal)
openclaw config set channels.discord.token "$TOKEN"

Bot Identities

Bot Machine Discord App Status
OC-5070 Lenovo Legion (CachyOS) OC-5070 (ID: 1470449493668528384) Active
OC-Mac MacBook Air M4 TBD Pending
OC-Beast Home Desktop Win11 TBD Pending

Server Channels (Suggested)

Consider creating dedicated channels:

  • #general — human + all bots
  • #bot-coordination — bots talking to each other
  • #alerts — proactive notifications from any bot