mirror of
https://github.com/PHIDIAS0303/ClusterChatSync.git
synced 2026-11-22 00:03:12 +09:00
Update instance.ts
This commit is contained in:
1 parent
2e2f72f3fa
commit
64d5dc5392
1 file changed
+1
@@ -3,6 +3,7 @@ import {ChatEvent} from './index.js';
|
|||||||
|
|
||||||
export default async function(context: InstancePluginContext) {
|
export default async function(context: InstancePluginContext) {
|
||||||
const {instance, host, plugin} = context;
|
const {instance, host, plugin} = context;
|
||||||
|
await InstancePlugin.fromContext(context);
|
||||||
let queue: [string, string][] = [];
|
let queue: [string, string][] = [];
|
||||||
|
|
||||||
instance.hooks.controllerConnectionEvent.attach(plugin.name, async (event) => {
|
instance.hooks.controllerConnectionEvent.attach(plugin.name, async (event) => {
|
||||||
|
|||||||
Reference in new issue
Block a user