Skip to content

[Feature]: Support ignoreOtherMentions config option for Slack channels #89625

Description

@SaebAmini

Summary

Add ignoreOtherMentions support for Slack channels (parity with Discord).

Problem to solve

Currently, Discord supports ignoreOtherMentions, which allows the bot to ignore messages that mention someone else (unless the bot is mentioned as well). Slack does not have this; 'requireMention: false' makes the bot respond to all messages, and there's no way to avoid over-responding in conversations with multiple people mentioned unless everyone uses explicit mention.

Proposed solution

Implement the ignoreOtherMentions config key for Slack channels. When set, the bot should skip messages that mention other users (or user groups, as detected by Slack message formatting) but do not mention the bot itself. Behavior/config should match Discord for maintainability and user expectations.

Alternatives considered

Manual filtering by users (always explicitly @mentioning OpenClaw, never mentioning others) is error-prone and inconsistent. Hardcoding requireMention: true disables ambient responses, which is not desired. No workaround for the same effect in shared channels.

Impact

Affected: Teams using Slack channels with OpenClaw
Severity: Annoying to severe (causes accidental auto-replies in busy channels, can create notification spam or confusion)
Frequency: Frequent in multi-user team channels
Consequence: Extra noise and accidental bot responses, harder to keep conversations relevant when people mention each other directly.

Evidence/examples

See implementation and docs for ignoreOtherMentions for Discord:

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.enhancementNew feature or requestimpact:message-lossChannel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions