This commit is contained in:
2025-01-17 23:58:10 +09:00
parent a0e7d69c72
commit 046bdfdc32

View File

@@ -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) {