diff options
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/types.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/types.ts b/src/utils/types.ts index 1c63613..6d4b78e 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -1,3 +1,5 @@ +import { Command } from "../api/Commands"; + // exists to export default definePlugin({...}) export default function definePlugin(p: PluginDef & Record<string, any>) { return p; @@ -31,6 +33,7 @@ interface PluginDef { start?(): void; stop?(): void; patches?: Omit<Patch, "plugin">[]; + commands?: Command[]; dependencies?: string[], required?: boolean; /** |