Skip to content

[Bug]: Slack connector needs message.channels handler for channel visibility #31674

@studio-matt

Description

@studio-matt

Bug type

Regression (worked before, now fails)

Summary

I’ve added the message.channels and message.groups event subscriptions to our
 Slack app (OpenClaw bot), and the workspace has the required scopes
 (channels:history, channels:read, groups:history, groups:read). Despite that,
 channel messages never reach the agent—Slack’s event logs stay empty unless I
 @mention the bot. Slack support confirmed that our integration still needs to
 register a message event handler to dispatch those events. Can we update the
 OpenClaw Slack connector to handle message.channels (and message.groups) the
 way they describe?

Details:

 - App ID: A0AHGL4S0NQ
 - Socket mode enabled.
 - Event Subscriptions now include message.channels, message.groups,
 app_mention, message.im.
 - Required scopes (channels:history, channels:read, groups:history,
 groups:read, im:history, etc.) are present and approved.
 - When I post in xtrf-dev or #vfw-dev, no event is delivered; only @mentions
 show up.
 - Slack support’s guidance: register a Slack.MessageEvent handler for
 message.channels, define it in the .slackapp manifest, and dispatch those
 events in the connector.

 Request:
 Please add the message.channels and message.groups event handlers to the
 OpenClaw Slack connector so those events get passed to the agent. Once that’s
 in place, we’ll reload our gateway and confirm channel events reach the main
 session.

 Thanks!

Steps to reproduce

no message in a slack channel where our openclaw was invited to and accepted is having that message reach openclaw.

Expected behavior

OpenClaw would be able to read the messages with, or without, the @mention.

Actual behavior

OC is not seeing the messages either way.

OpenClaw version

No clue but just installed so whatever the latest is.

Operating system

Apple Tahoe. Again, latest OS available.

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions