LegacyHandlerPluginOptions
LegacyHandlerPluginOptions
Options for the LegacyHandlerPlugin.
Signature
interface LegacyHandlerPluginOptions {
commandsPath: string;
eventsPath: string;
validationsPath: string;
skipBuiltInValidations: boolean;
devUserIds: string[];
devGuildIds: string[];
devRoleIds: string[];
}
commandsPath
property
string
The path to the commands directory. Relative to the current working directory.
eventsPath
property
string
The path to the events directory. Relative to the current working directory.
validationsPath
property
string
The path to the validations directory. Relative to the current working directory.
skipBuiltInValidations
property
boolean
Whether to skip built-in validations. Defaults to false.
devUserIds
property
string[]
List of user IDs that are considered developers. Used for dev-only commands and validations.
devGuildIds
property
string[]
List of guild IDs that are considered development guilds. Used for dev-only commands and validations.
devRoleIds
property
string[]
List of role IDs that are considered developer roles. Used for dev-only commands and validations.