Enumeration: PluginType
A bitfield that discriminates plugins
Example
export default function myPlugin() : EventPlugin<CommandType.Text> {
type : PluginType.Event,
execute([ctx, args], controller) {
return controller.next();
}
}
Enumeration Members
Control
• Control = 2
The PluginType for EventPlugins
Defined in
src/core/structures/enums.ts:85
Init
• Init = 1
The PluginType for InitPlugins