openclaw/src/channels
Josh Lehman a139d35fa2
feat(slack): add userToken for read-only access to DMs and private channels (#981)
- Add userToken and userTokenReadOnly (default: true) config fields
- Implement token routing: reads prefer user token, writes use bot token
- Add tests for token routing logic
- Update documentation with required OAuth scopes

User tokens enable reading DMs and private channels without requiring
bot membership. The userTokenReadOnly flag (true by default) ensures
the user token can only be used for reads, preventing accidental
sends as the user.

Required user token scopes:
- channels:history, channels:read
- groups:history, groups:read
- im:history, im:read
- mpim:history, mpim:read
- users:read, reactions:read, pins:read, emoji:read, search:read
2026-01-16 00:11:33 +00:00
..
plugins feat(slack): add userToken for read-only access to DMs and private channels (#981) 2026-01-16 00:11:33 +00:00
web refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
dock.ts feat: add matrix channel plugin 2026-01-15 08:40:37 +00:00
location.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
location.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
registry.test.ts refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
registry.ts feat: load channel plugins 2026-01-15 02:42:44 +00:00