Add Discord RPC E2E test scripts and address code review feedback

Co-authored-by: milutinke <441903+milutinke@users.noreply.github.com>
Agent-Logs-Url: https://github.com/MCCTeam/Minecraft-Console-Client/sessions/a41f3e83-c88d-4c57-971b-54c380891556
This commit is contained in:
copilot-swe-agent[bot] 2026-03-23 00:49:34 +00:00
parent 5a9786cb0b
commit 6c1449439c
4 changed files with 785 additions and 1 deletions

View file

@ -384,7 +384,8 @@ namespace MinecraftClient.ChatBots
if (string.IsNullOrEmpty(message) || string.IsNullOrWhiteSpace(message))
return;
// Relay messages from other bots when configured, but never process commands from them
// Relay messages from other bots when configured, but never process commands from them.
// Skip relay when direction is Discord-only (Discord -> MC disabled).
if (e.Author.IsBot)
{
if (Config.Allow_Other_Bot_Messages && bridgeDirection != BridgeDirection.Discord)