From 046bdfdc3239d452f9a7cb32faf4e06582839586 Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Fri, 17 Jan 2025 23:58:10 +0900 Subject: [PATCH] . --- controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.js b/controller.js index 316b3d2..6cb268a 100644 --- a/controller.js +++ b/controller.js @@ -60,7 +60,7 @@ class ControllerPlugin extends BaseControllerPlugin { async handleInstanceAction(request, src) { if (request.action === "CHAT" || request.action === "SHOUT") { - const channel_id = tonumber(this.controller.config.get("chat_sync.discord_channel_mapping")[this.controller.instances.get(src.id) ?? ""]); + const channel_id = this.controller.config.get("chat_sync.discord_channel_mapping")[this.controller.instances.get(src.id) ?? ""]; let channel = null; if (!channel_id) {