Update controller.js

This commit is contained in:
2025-08-12 23:42:56 +09:00
committed by GitHub
parent 5ae7d529bd
commit 7f527770b2

View File

@@ -182,7 +182,7 @@ class ControllerPlugin extends BaseControllerPlugin {
if (result && result.action) { if (result && result.action) {
await this.sendMessage(request, `**\`${nrc_username}\`**: ${result.passage}`); 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]`));
} }
} }
} }