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) {
|
async handleInstanceAction(request, src) {
|
||||||
if (request.action === "CHAT" || request.action === "SHOUT") {
|
if (request.action === "CHAT" || request.action === "SHOUT") {
|
||||||
const channel_id = 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")[request.instanceName];
|
||||||
let channel = null;
|
let channel = null;
|
||||||
|
|
||||||
if (!channel_id) {
|
if (!channel_id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user