Discord Setup
You need a Discord application and bot token before running disclaw-team init. This guide walks through every step in the Discord Developer Portal, from creating an application to generating an invite URL.
Each bot in your team requires its own application and token — for a 3-bot team, you’ll repeat this process three times.
Step 0: Enable Developer Mode
You’ll need to copy server IDs, channel IDs, and user IDs during setup. Discord hides these behind Developer Mode.
- Open Discord → User Settings (gear icon)
- Go to App Settings → Advanced
- Toggle Developer Mode on
With this enabled, you can right-click any server, channel, or user and select Copy ID.
Step 1: Create an application
- Go to https://discord.com/developers/applications
- Click New Application in the top right
- Give it a name (e.g. “My Orchestrator Bot”) and click Create
- You’ll be taken to the application’s General Information page
Step 2: Create a bot
- Click Bot in the left sidebar
- Click Add Bot, then confirm with Yes, do it!
- Under Token, click Reset Token and copy the value that appears — you’ll need this during
disclaw-team init
Step 3: Enable required intents
Still on the Bot page, scroll down to Privileged Gateway Intents and enable both:
- Message Content Intent — required; without it, bots receive empty message content
- Server Members Intent — required for guild member data
Click Save Changes before leaving the page.
Step 4: Generate an invite URL
- Click OAuth2 → URL Generator in the left sidebar
- Under Scopes, check:
bot,applications.commands - Under Bot Permissions, check:
Send MessagesRead Message HistoryView ChannelsAdd Reactions
- Copy the generated URL at the bottom of the page
- Open the URL in your browser and select the server you want to invite the bot to
Repeat for each bot
disclaw-team runs multiple bots concurrently — each one needs its own Discord application and token. For a 3-bot team, create 3 applications, 3 bots, and collect 3 tokens. You’ll enter all of them during disclaw-team init.
Give each application a distinct name so you can tell them apart in the Discord Developer Portal.