From 053eca0cf4bdd70cc12e82a1f49db79a9943c790 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Wed, 19 Apr 2023 00:08:19 -0400 Subject: [PATCH] *await on plugin --- src/modules/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/plugin.ts b/src/modules/plugin.ts index 849ca88..1aa8c7e 100644 --- a/src/modules/plugin.ts +++ b/src/modules/plugin.ts @@ -179,7 +179,7 @@ export class PluginAPIManager { this.registeredPlugins.set(plugin.name, plugin); try { - plugin.plugin( + await plugin.plugin( // @ts-ignore new Proxy(getPluginAPI(), { get(target: PluginAPI, prop: string): any {