refactor: simplify discord channel and improve setup docs

This commit is contained in:
Re-bin
2026-02-06 07:04:10 +00:00
parent 7d2bebcfa3
commit 8a1d7c76d2
2 changed files with 27 additions and 56 deletions

View File

@@ -214,7 +214,11 @@ nanobot gateway
- In the Bot settings, enable **MESSAGE CONTENT INTENT**
- (Optional) Enable **SERVER MEMBERS INTENT** if you plan to use allow lists based on member data
**3. Configure**
**3. Get your User ID**
- Discord Settings → Advanced → enable **Developer Mode**
- Right-click your avatar → **Copy User ID**
**4. Configure**
```json
{
@@ -228,18 +232,13 @@ nanobot gateway
}
```
**Limitations (current implementation)**
- Global allowlist only (`allowFrom`); no `groupPolicy`, `dm.policy`, or per-guild/per-channel rules
- No `requireMention` or per-channel enable/disable
- Outbound messages are text only (no file uploads)
**4. Invite the bot**
**5. Invite the bot**
- OAuth2 → URL Generator
- Scopes: `bot`
- Bot Permissions: `Send Messages`, `Read Message History`
- Open the generated invite URL and add the bot to your server
**5. Run**
**6. Run**
```bash
nanobot gateway