From 7f527770b2d44c59e70aa94f2b21a168b90ec02c Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Tue, 12 Aug 2025 23:42:56 +0900 Subject: [PATCH] Update controller.js --- controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.js b/controller.js index 0854a37..14884fd 100644 --- a/controller.js +++ b/controller.js @@ -182,7 +182,7 @@ class ControllerPlugin extends BaseControllerPlugin { if (result && result.action) { await this.sendMessage(request, `**\`${nrc_username}\`**: ${result.passage}`); - return `[color=255,255,255]\`${nrc_username}\`: ${result}[/color]`; + this.instance.sendTo({ instanceId: this.instance.id }, new ChatEvent(this.instance.name, `[color=255,255,255]\`${nrc_username}\`: ${result}[/color]`)); } } }