From ef5d18a1717395ff0dab982070ea4f5fcc25d3be Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 2 Oct 2026 23:07:37 +0900 Subject: [PATCH] Update controller.js --- controller.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/controller.js b/controller.js index d998a25..86a377b 100644 --- a/controller.js +++ b/controller.js @@ -102,6 +102,14 @@ class ControllerPlugin extends BaseControllerPlugin { const nrc_username = nrc.substring(0, nrc_index); const nrc_message = nrc.substring(nrc_index + 1).trim(); await this.sendMessage(request, `**\`${nrc_username}\`**: ${nrc_message}`); + } else if (request.action === 'JOIN') { + await this.sendMessage(request, `**\`${nrc_username}\`** joined the game`); + } else if (request.action === 'LEAVE') { + await this.sendMessage(request, `**\`${nrc_username}\`** left the game`); + } else if (request.action === 'KICK') { + await this.sendMessage(request, `**\`${nrc_username}\`** was kicked from the game`); + } else if (request.action === 'BAN') { + await this.sendMessage(request, `**\`${nrc_username}\`** was banned from the game`); } } }