Interface: CommandPlugin<T>
Deprecated
Use the newer helper functions and import { controller } from '@sern/handler'
Type parameters
| Name | Type |
|---|---|
T | extends CommandType = CommandType |
Properties
description
• Optional description: string
Defined in
execute
• execute: (m: InitArgs<Processed<CommandModule>>, controller?: Deprecated<"Please import controller instead">) => PluginResult
Type declaration
▸ (m, controller?): PluginResult
Parameters
| Name | Type |
|---|---|
m | InitArgs<Processed<CommandModule>> |
controller? | Deprecated<"Please import controller instead"> |
Returns
Defined in
name
• Optional name: string
Defined in
type
• type: Init