#https://discord.com/invite/clawd

1 messages · Page 1 of 1 (latest)

fickle drift
#

OpenClaw 2026.4.15 on Windows. Discord DMs work fine. I have a private guild (just me + my bot) and want replies in specific guild channels without requiring @mention. What's the correct channels.discord config shape? I've tried guilds.{id}.requireMention: false — schema accepts it but behavior doesn't change. I've also seen channels.{id}.requireMention referenced in source but unclear if there's a guild allowlist side-effect I need to handle.

hidden gorgeBOT
#

Let me verify this against the docs and actual lookup order in source so I don’t hand-wave the key shape.

#

I’m checking the allowlist side too, because Discord has a separate “may reply here at all” gate from the mention gate.

#

Yep, there is a separate allowlist gate.

For specific guild channels without @mention, the shape you want is:

{
  channels: {
    discord: {
      groupPolicy: "allowlist",
      guilds: {
        "YOUR_GUILD_ID": {
          channels: {
            "CHANNEL_ID_1": {
              enabled: true,
              requireMention: false,
            },
#
            "CHANNEL_ID_2": {
              enabled: true,
              requireMention: false,
            },
          },
        },
      },
    },
  },
}

Two important gotchas:

  1. guilds.<id>.requireMention: false only disables the mention gate.
    It does not allow the channel through when groupPolicy is "allowlist".
#
  1. On Discord, "allowlist" means only channels present in
    channels.discord.guilds.*.channels are allowed.
    So yes, there is an allowlist side effect.

Also, use enabled, not allow. allow is legacy now.

One more big Discord gotcha: if you want replies to unmentioned guild messages, your bot also needs Message Content Intent enabled in the Discord Developer Portal. DMs and mentions can work fine without it, which makes this one easy to miss.

If you want all channels in that guild to work without mention, then this is the simpler shape:

{
  channels: {
    discord: {
      groupPolicy: "open",
      guilds: {
fickle drift
#

Awesome, thanks very much!