mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-11 15:14:52 +09:00
Update controller.ts
This commit is contained in:
1 parent
72f6780465
commit
09d13f61de
1 file changed
+1
-1
+1
-1
@@ -130,7 +130,7 @@ export default async function(context: ControllerPluginContext) {
|
||||
? text.slice(0, -verb.length).trim()
|
||||
: text;
|
||||
|
||||
const id = [...controller.instances.instances.values()].find(i => i.name === instanceName)?.id;
|
||||
const id = controller.instances.get(instanceName);
|
||||
const connection = await controller.instances.get(id);
|
||||
|
||||
if (!connection) {
|
||||
|
||||
Reference in new issue
Block a user