openclaw - ✅(Solved) Fix [Feishu] 添加 ignoreAtAll/ignoreBroadcast 配置选项 [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#59401Fetched 2026-04-08 02:24:16
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
referenced ×2cross-referenced ×1

Fix Action

Fixed

PR fix notes

PR #59422: feat(feishu): add ignoreAtAll configuration option

Description (problem / solution / changelog)

Fixes #59401

Summary

When enabled, @所有人 (broadcast) messages will not trigger the bot. Only direct @mentions of the bot will be processed.

Configuration

Top-level:

{
  "channels": {
    "feishu": {
      "ignoreAtAll": true
    }
  }
}

Per-group override:

{
  "channels": {
    "feishu": {
      "groups": {
        "oc_xxx": {
          "ignoreAtAll": true
        }
      }
    }
  }
}

Use Case

  • Company announcement groups where @所有人 messages are frequent
  • Bot should not auto-reply to every broadcast
  • Only respond to direct @bot mentions

Test Plan

  1. Enable ignoreAtAll: true
  2. Send @所有人 message in a group
  3. Verify bot does NOT respond
  4. Send @bot message in the same group
  5. Verify bot DOES respond

🤖 Generated with ClawHub

Changed files

  • extensions/feishu/src/bot-content.ts (modified, +12/-2)
  • extensions/feishu/src/bot.ts (modified, +8/-2)
  • extensions/feishu/src/config-schema.ts (modified, +11/-0)

Code Example

{
  "channels": {
    "feishu": {
      "ignoreAtAll": true,
      // 或
      "ignoreBroadcast": true
    }
  }
}

---

{
  "channels": {
    "feishu": {
      "groups": {
        "oc_xxx": {
          "ignoreAtAll": true
        }
      }
    }
  }
}
RAW_BUFFERClick to expand / collapse

需求描述

在使用飞书群聊时,当有人发送 @所有人 消息时,机器人也会收到并回复。但在某些场景下,用户希望机器人不响应 @所有人 消息,只响应直接 @ 机器人的消息。

建议的配置项

{
  "channels": {
    "feishu": {
      "ignoreAtAll": true,
      // 或
      "ignoreBroadcast": true
    }
  }
}

或者在群级别配置:

{
  "channels": {
    "feishu": {
      "groups": {
        "oc_xxx": {
          "ignoreAtAll": true
        }
      }
    }
  }
}

使用场景

  • 公司全员公告群,@所有人 消息频繁,机器人不应该自动回复每一条
  • 只希望机器人响应直接 @ 它的消息,避免干扰重要通知

当前行为

目前 requireMention: true 配置会让机器人响应所有 @ 消息,包括 @所有人,无法区分。


感谢考虑这个需求!

extent analysis

TL;DR

To prevent the bot from responding to @所有人 messages, consider adding the ignoreAtAll or ignoreBroadcast configuration option.

Guidance

  • Add the ignoreAtAll or ignoreBroadcast configuration option to the channel or group settings to prevent the bot from responding to @所有人 messages.
  • Use the channel-level configuration to apply the setting to all groups, or use the group-level configuration to apply the setting to a specific group.
  • Verify that the bot is correctly ignoring @所有人 messages by testing the configuration in a controlled environment.
  • Consider using the requireMention configuration option in conjunction with ignoreAtAll or ignoreBroadcast to fine-tune the bot's response behavior.

Example

{
  "channels": {
    "feishu": {
      "ignoreAtAll": true
    }
  }
}

Notes

The ignoreAtAll and ignoreBroadcast configuration options may have different effects depending on the specific use case and environment. It is recommended to test the configuration thoroughly to ensure the desired behavior.

Recommendation

Apply the workaround by adding the ignoreAtAll or ignoreBroadcast configuration option to the channel or group settings, as this will allow for more fine-grained control over the bot's response behavior.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING