Interface: SlashCommand
Hierarchy
↳
SlashCommand
Properties
description
• description: string
Overrides
Defined in
execute
• execute: (ctx
: Context
, args
: ["slash"
, SlashOptions
]) => unknown
Type declaration
▸ (ctx
, args
): unknown
Parameters
Name | Type |
---|---|
ctx | Context |
args | ["slash" , SlashOptions ] |
Returns
unknown
Overrides
Defined in
name
• Optional
name: string
Inherited from
Defined in
onEvent
• onEvent: ControlPlugin
<any
[]>[]
Inherited from
Defined in
options
• Optional
options: (SernSubCommandData
| SernSubCommandGroupData
| BaseOptions
)[]
Defined in
plugins
• plugins: InitPlugin
<any
[]>[]
Inherited from
Defined in
type
• type: Slash