#"replyToMode": "off" do not effect

1 messages · Page 1 of 1 (latest)

dusky kelp
#

Hi, I set "replyToMode": "off" in json,but it did not work after I upgrade to 4.26. It worked before.

lapis ledgeBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

crystal perchBOT
#

replyToMode: "off" should still be valid for Discord, but one nuance changed/exists in docs:

  • off disables implicit native reply threading.
  • Explicit tags like / are still honored.

So if the model/tool output includes a reply tag, Discord will still show it as a reply even with replyToMode: "off".

Quick checks:

  1. Please confirm exact version:

    openclaw --version
    
  2. Make sure it’s under Discord config:

#
   {
     channels: {
       discord: {
         replyToMode: "off"
       }
     }
   }
  1. If you use Discord accounts, also try setting it on that account:
    {
      channels: {
        discord: {
          accounts: {
    
#

If it still replies natively without any [[reply_to_*]] tag in the assistant output, that sounds like a regression in 2026.4.26 — please share openclaw --version + a sanitized Discord config snippet.

dusky kelp
#

the config still not work. OpenClaw 2026.4.26 (be8c246),
"discord": {
"enabled": true,
"defaultAccount": "main",
"allowBots": "mentions",
"replyToMode": "off",
"streaming": {
"mode": "block"
},
"accounts": {
"default": {
"replyToMode": "off"
},
"main": {

crystal perchBOT
#

Ah, key detail: your active Discord account is main:

"defaultAccount": "main"

So accounts.default.replyToMode won’t affect that account. Add it under accounts.main too:

channels: {
  discord: {
    defaultAccount: "main",
    replyToMode: "off",
    accounts: {
      main: {
        replyToMode: "off"
#
      }
    }
  }
}

Then restart:

openclaw gateway restart

Also: if the model outputs , Discord will still native-reply even with replyToMode: "off" — that’s treated as an explicit reply tag. If this still happens after adding it to main, it may be a 2026.4.26 regression and worth filing with this config snippet: https://github.com/openclaw/openclaw/issues

dusky kelp
#

I added this to every accounts,but it still not work

crystal perchBOT
#

Then it’s probably not the account config anymore.

Two important distinctions:

  1. replyToMode: "off" only disables implicit Discord native replies.
    If the model outputs an explicit hidden directive like , Discord will still reply. OpenClaw strips that tag from the visible message, so it can look like config is ignored.

  2. It does not stop replies from appearing inside the same Discord thread/forum post.
    It only controls the little native “replying to …” reference.

Try adding this to your agent instructions / AGENTS.md:

On Discord, do not use reply directives such as  or  unless explicitly asked.

Then restart gateway and test again.

dusky kelp
#

I think it is not only the replayToMode that does not take effect, but many discord parameters do not take effect.

crystal perchBOT
#

Yeah, if multiple Discord settings aren’t taking effect, I’d stop chasing replyToMode specifically. This smells like the gateway is running from a different config file / state dir than the one you edited, or the gateway process didn’t actually restart.

Please run these and compare the config path:

openclaw config file
openclaw config get channels.discord --json
openclaw gateway status
openclaw status --all

Things to look for:

  • openclaw config file path matches the config you edited
  • openclaw gateway status shows the same config/state location
  • openclaw config get channels.discord --json actually contains your updated Discord values
  • no config validation warnings in openclaw status --all
dusky kelp
#

I take back what I said just now, the problem is still mainly in the replayToMode.

crystal perchBOT
#

Got it — then I’d frame it this way:

replyToMode: "off" is being read, but in current Discord behavior it does not block explicit reply directives like:


Those tags are hidden from the final Discord message, so it looks like replyToMode is ignored.

Workaround for now: add this to your agent instructions / AGENTS.md:

For Discord replies, never use  or  unless the user explicitly asks you to reply to a specific message.

Then restart: