What I'm trying to do:
In a Discord guild channel with only me and the bot, I want the bot to respond equally fast whether I @mention it or not. The channel has requireMention: false set.
What's happening instead:
Messages without @mention get a noticeably slower response than messages with @mention. It feels like Discord delivers the message event to the bot faster when it contains an @mention.
Config (relevant parts):
json
"guilds": {
"GUILD_ID": {
"requireMention": true,
"channels": {
"CHANNEL_ID": {
"requireMention": false,
"enabled": true
}
}
}
},
"messages": {
"inbound": {
"debounceMs": 0,
"byChannel": { "discord": 0 }
}
}
What I've tried:
Set messages.inbound.debounceMs to 0 (disabled) — no change,
Set messages.inbound.byChannel.discord to 0 — no change,
Gateway restart after each config change,
Analyzed gateway logs: inbound → queue delay is ~120-200ms for both mention and non-mention messages. The processing on OpenClaw's side is identical.,
Hypothesis:
The delay seems to happen before OpenClaw receives the message — possibly Discord's gateway delivering @mention events faster than regular message events.
Setup:
OpenClaw 2026.5.4,
Discord channel (guild), single bot + single user,
GLM-5.1 model,