[Slack Bot] Support responding to direct messages (DM) #629

Closed
opened 2026-02-16 10:19:58 -05:00 by yindo · 1 comment
Owner

Originally created by @jDBTISK on GitHub (Sep 8, 2025).

Current behavior

  • The Slack Bot only responds when mentioned in a channel (app_mention event).
  • Sending a direct message (DM) to the bot does nothing — the Dify app is not invoked.

Feature request

  • Allow the Slack Bot to handle direct messages (message.im).
  • When receiving a DM, the bot should invoke the linked Dify app and return the response in the DM channel.

Why

  • Users naturally expect the bot to reply in private conversations.
  • This makes it easier to interact with the Dify app without needing to create a channel or mention the bot publicly.

Reference

Originally created by @jDBTISK on GitHub (Sep 8, 2025). ### Current behavior - The Slack Bot only responds when mentioned in a channel (`app_mention` event). - Sending a direct message (DM) to the bot does nothing — the Dify app is not invoked. #### Feature request - Allow the Slack Bot to handle direct messages (`message.im`). - When receiving a DM, the bot should invoke the linked Dify app and return the response in the DM channel. #### Why - Users naturally expect the bot to reply in private conversations. - This makes it easier to interact with the Dify app without needing to create a channel or mention the bot publicly. #### Reference - Current code: [slack.py#L60](https://github.com/langgenius/dify-official-plugins/blob/main/extensions/slack_bot/endpoints/slack.py#L60)
yindo added the enhancement label 2026-02-16 10:19:58 -05:00
yindo closed this issue 2026-02-16 10:19:58 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Sep 24, 2025):

Hi, @jDBTISK. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You requested an enhancement for the Slack Bot to handle direct messages (DMs) in addition to channel mentions.
  • The goal is to enable private interactions by invoking the linked Dify app and replying within DMs.
  • Currently, the bot only processes app_mention events and ignores DMs.
  • No further comments or activity have been recorded on this request.
  • This feature would improve user experience by allowing private conversations without public mentions.

Next Steps:

  • Please let me know if this issue is still relevant to the latest version of the dify-official-plugins repository by commenting here.
  • If I do not hear back within 5 days, I will automatically close this issue.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Sep 24, 2025): Hi, @jDBTISK. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You requested an enhancement for the Slack Bot to handle direct messages (DMs) in addition to channel mentions. - The goal is to enable private interactions by invoking the linked Dify app and replying within DMs. - Currently, the bot only processes `app_mention` events and ignores DMs. - No further comments or activity have been recorded on this request. - This feature would improve user experience by allowing private conversations without public mentions. **Next Steps:** - Please let me know if this issue is still relevant to the latest version of the dify-official-plugins repository by commenting here. - If I do not hear back within 5 days, I will automatically close this issue. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#629