#Different discord channel with different bot configuration
9 messages · Page 1 of 1 (latest)
Yes, absolutely.
For Discord, requireMention can be set per guild and overridden per channel.
{
channels: {
discord: {
guilds: {
"YOUR_GUILD_ID": {
requireMention: true, // default for this server
channels: {
"CHANNEL_ID_MENTION_ONLY": {
enabled: true,
requireMention: true,
},
"CHANNEL_ID_NO_MENTION": {
enabled: true,
requireMention: false,
},
},
},
},
},
},
}
So with that:
- one channel only replies when people
@mentionthe bot - another channel replies without
@mention
A couple gotchas:
- put it under
channels.discord.guilds.<guildId>or the channel override - if you use
groupPolicy: "allowlist", the channel must also be listed there - older examples may show
allow: true, but current key isenabled: true
Docs:
If you want, paste your current channels.discord block and I’ll rewrite it for your exact channels.
@brisk prism this is exactly what I did but failed. And then it keep crashes and bugged. LOL
Oof, okay, if it’s actually crashing then we’re past “just config wrong” 😅
First thing, I need your version:
openclaw --version
Then paste these in one reply:
- your
channels.discordconfig block - this output:
openclaw doctor
openclaw channels status --probe
- the crash/error from: