mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
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:
parent
5a9786cb0b
commit
6c1449439c
4 changed files with 785 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue