Groups
Handling group conversations.
Overview
OpenClaw can participate in group chats on supported channels.
Supported Channels
| Channel | Group Support |
|---|---|
| Yes | |
| Telegram | Yes |
| Discord | Yes (servers/channels) |
| Slack | Yes (channels) |
Activation Methods
Mention
Agent responds when mentioned:
@assistant help me with this codeTrigger Word
Agent responds to specific words:
hey assistant, what's the weather?All Messages
Agent responds to every message (use carefully).
Configuration
json5
{
groups: {
enabled: true,
activation: "mention", // mention, trigger, all
triggerWords: ["assistant", "bot"],
respondToSelf: false
}
}Session Handling
Groups can have:
- Shared session: All users share context
- Per-user sessions: Separate context per user
json5
{
groups: {
sessionMode: "shared" // shared, per-user
}
}Best Practices
- Use mention or trigger activation to avoid spam
- Consider rate limiting for busy groups
- Configure appropriate system prompts for group context