remove need to depend on CommandsAPI

This commit is contained in:
Vendicated 2024-09-18 01:26:25 +02:00
parent 6cce8a8bc4
commit 65c5897dc3
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
12 changed files with 12 additions and 13 deletions

View file

@ -72,13 +72,13 @@ export interface PluginDef {
stop?(): void;
patches?: Omit<Patch, "plugin">[];
/**
* List of commands. If you specify these, you must add CommandsAPI to dependencies
* List of commands that your plugin wants to register
*/
commands?: Command[];
/**
* A list of other plugins that your plugin depends on.
* These will automatically be enabled and loaded before your plugin
* Common examples are CommandsAPI, MessageEventsAPI...
* Generally these will be API plugins
*/
dependencies?: string[],
/**