Skip to content

Commit 934cb31

Browse files
committed
docs: add Discord bot setup guide to quickstart
Step-by-step instructions for creating a Discord bot, getting the token, enabling Message Content Intent, inviting to a server, and finding IDs.
1 parent d82584c commit 934cb31

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Clawdapus treats the agent as an untrusted workload. It is the layer below the f
1515

1616
## Quickstart (5 minutes)
1717

18-
**You need:** Docker Desktop, an [OpenRouter](https://openrouter.ai/) API key, and a [Discord bot token](https://discord.com/developers/applications).
18+
**You need:** Docker Desktop, an [OpenRouter](https://openrouter.ai/) API key, and a Discord bot token + guild ID (see [Discord setup guide](./examples/quickstart/README.md#discord-bot-setup)).
1919

2020
```bash
2121
# Install

examples/quickstart/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ Get a governed OpenClaw agent running in 5 minutes.
88
- An [OpenRouter](https://openrouter.ai/) API key (or Anthropic/OpenAI)
99
- A Discord bot token ([create one here](https://discord.com/developers/applications))
1010

11+
## Discord bot setup
12+
13+
If you already have a Discord bot, skip to [Install](#1-install).
14+
15+
1. Go to the [Discord Developer Portal](https://discord.com/developers/applications) and click **New Application**. Name it whatever you want.
16+
2. Go to **Bot** in the left sidebar. Click **Reset Token** and copy it — this is your `DISCORD_BOT_TOKEN`.
17+
3. Under **Privileged Gateway Intents**, enable **Message Content Intent**. The bot needs this to read messages.
18+
4. Go to **OAuth2 → URL Generator**. Select scopes: `bot`. Select permissions: `Send Messages`, `Read Message History`. Copy the generated URL and open it to invite the bot to your server.
19+
5. To get your `DISCORD_BOT_ID`: on the **General Information** page, copy the **Application ID**.
20+
6. To get your `DISCORD_GUILD_ID`: in Discord, enable Developer Mode (Settings → Advanced → Developer Mode), then right-click your server name and **Copy Server ID**.
21+
1122
## 1. Install
1223

1324
```bash

0 commit comments

Comments
 (0)