[GH-ISSUE #700] [Feature]: Add two-way Discord bot mirroring for linked chats #334

Closed
opened 2026-10-20 17:27:44 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @cha1latte on GitHub (May 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/700

What problem does this solve?

Existing Discord mirroring is framed around outbound webhook behavior. The request asks for a fuller linked-chat workflow where messages can move both ways between Marinara and a Discord channel, making Discord a live companion surface for Marinara chats or group DMs.

Source/context: Discord feature request. Source link: https://discord.com/channels/1417099416812392641/1503458087619792917

Proposed solution

Explore two-way Discord mirroring through the Discord bot API rather than relying only on outbound webhooks.

The proposed behavior is:

  • Users provide a Discord bot API key in .env to enable the bot.
  • The bot runs on the server instead of the web client.
  • A Marinara user chat or group DM can be linked to a specific Discord server channel.
  • Messages sent in Marinara are mirrored to Discord.
  • Messages sent in the linked Discord channel are mirrored back into Marinara.
  • Discord user info is parsed as a pseudo-character in Marinara.
  • Users can optionally link Discord users to actual characters or personas.
  • The bot posts as the corresponding character or persona where Discord bot capabilities allow.

This should be considered separately from autonomous scheduling. Background autonomous messages could later use this path, but two-way Discord mirroring has its own setup, identity, permission, and moderation questions.

Alternatives considered

  • Keep Discord mirroring outbound-only via webhooks. This is simpler and avoids bot lifecycle/permission maintenance, but does not support Discord-to-Marinara replies.
  • Support only a minimal inbound Discord bridge without identity linking. This would be easier to ship but less expressive for roleplay/group-chat use.

Additional context

This request is split out from the broader group autonomy and Discord mirroring idea because Discord bot support is a large cross-system integration with its own product and maintenance questions.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/700 ## What problem does this solve? Existing Discord mirroring is framed around outbound webhook behavior. The request asks for a fuller linked-chat workflow where messages can move both ways between Marinara and a Discord channel, making Discord a live companion surface for Marinara chats or group DMs. Source/context: Discord feature request. Source link: https://discord.com/channels/1417099416812392641/1503458087619792917 ## Proposed solution Explore two-way Discord mirroring through the Discord bot API rather than relying only on outbound webhooks. The proposed behavior is: - Users provide a Discord bot API key in `.env` to enable the bot. - The bot runs on the server instead of the web client. - A Marinara user chat or group DM can be linked to a specific Discord server channel. - Messages sent in Marinara are mirrored to Discord. - Messages sent in the linked Discord channel are mirrored back into Marinara. - Discord user info is parsed as a pseudo-character in Marinara. - Users can optionally link Discord users to actual characters or personas. - The bot posts as the corresponding character or persona where Discord bot capabilities allow. This should be considered separately from autonomous scheduling. Background autonomous messages could later use this path, but two-way Discord mirroring has its own setup, identity, permission, and moderation questions. ## Alternatives considered - Keep Discord mirroring outbound-only via webhooks. This is simpler and avoids bot lifecycle/permission maintenance, but does not support Discord-to-Marinara replies. - Support only a minimal inbound Discord bridge without identity linking. This would be easier to ship but less expressive for roleplay/group-chat use. ## Additional context This request is split out from the broader group autonomy and Discord mirroring idea because Discord bot support is a large cross-system integration with its own product and maintenance questions. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 11, 2026):

Triage note: labeling this as scope-risk because two-way Discord bot mirroring is aligned with linked chat workflows but adds a new server-side third-party integration, channel linking, and Discord-to-Marinara identity mapping.

Least risky next step is to decide whether Discord bot support belongs in core, then scope a minimal linked-channel prototype before adding persona/character identity mapping.

<!-- gh-comment-id:4424269949 --> @cha1latte commented on GitHub (May 11, 2026): Triage note: labeling this as `scope-risk` because two-way Discord bot mirroring is aligned with linked chat workflows but adds a new server-side third-party integration, channel linking, and Discord-to-Marinara identity mapping. Least risky next step is to decide whether Discord bot support belongs in core, then scope a minimal linked-channel prototype before adding persona/character identity mapping.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

This requires a standalone Discord Bot implementation, shouldn't be a part of the main frontend.

<!-- gh-comment-id:4470011657 --> @SpicyMarinara commented on GitHub (May 17, 2026): This requires a standalone Discord Bot implementation, shouldn't be a part of the main frontend.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#334
No description provided.