2.2 KiB
2.2 KiB
title, category, status, date, config_file, tags
| title | category | status | date | config_file | tags | ||||
|---|---|---|---|---|---|---|---|---|---|
| Discord / OpenClaw Configuration | OpenClaw | active | 2026-02-23 | ~/.openclaw/config/config.json |
|
Discord / OpenClaw Configuration
Date: 2026-02-23
Working Config (Slash Commands + Agent Responses)
File Location: ~/.openclaw/config/config.json
Critical Setup
Both layers required for full functionality:
"channels": {
"discord": {
"enabled": true,
"token": "YOUR_TOKEN",
"groupPolicy": "open",
"guilds": {
"1465924568119251006": {
"users": [
"458667380332036117",
"1465926559134257294"
],
"channels": {
"1466074219829006599": {
"allow": true
}
},
"requireMention": false
}
}
}
}
Why Both Layers?
| Layer | Location | Purpose | Without It |
|---|---|---|---|
users |
Guild level | Slash commands working | /compact, /status don't register |
channels.allow |
Channel level | Agent can respond | Agent stops responding to messages |
Bug/Design Issue
The users whitelist prevents agent responses — it's a bug where:
usersenables slash commands ✅- But also breaks message processing ❌
channels.allowis the workaround to re-enable responses
Both required until OpenClaw fixes the bug.
Channel IDs
| Name | ID | Purpose |
|---|---|---|
| #home-assistant | 1466074219829006599 | HA, room-assistant |
| #coding | 1468627455656067074 | Code, git, projects |
| #projects | 1468257895152881796 | Non-coding experiments |
| #alerts | 1473701182076752135 | System alerts |
User IDs
| User | ID |
|---|---|
| Corey | 458667380332036117 |
| OpenClaw Bot | 1465926559134257294 |
Slash Commands
| Command | Purpose |
|---|---|
/compact |
Compact session context |
/status |
Show session status |
Related OpenClaw Files
- Memory System — Complete memory architecture documentation
- Projects/Memory System/Memory System Architecture — Detailed data flow diagrams
- Dataview Query Examples — Query memory system with Dataview
Updated: 2026-02-23