Skip to content

Feature request: Discord connection (like Slack), with the bridge able to read other bots' messages #509

Description

@SHEN08054

What I want

A Discord connection alongside the existing Slack one, so requests posted in a Discord channel reach the god agent and replies go back to the same channel/thread.

Why

I run a Discord server where I work with other AI agents (e.g. Hermes Agent). I'd like Munder Difflin's office to collaborate in the same channel, sharing the conversation as context.

Important: bot messages

The current Slack bridge ignores any event that has a bot_id, so messages posted by other bots never reach the office. In v0.5.2 the Slack handler contains:

if (ev.bot_id || (ev.subtype && ev.subtype !== 'file_share')) { return { trigger: false, ... } }

If a Discord bridge copies this behavior, agents in the channel still can't hear each other. Request:

  • The bridge should be able to read messages from other bots in the channel, at least as context via channel history when the office is triggered.
  • An option to let messages from specific allow-listed bots trigger the office, with loop protection (e.g. ignore our own bot, a hop limit).

Related

Environment

Munder Difflin v0.5.2, packaged, Windows 11.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions