mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2025-12-27 03:05:21 +09:00
.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user