Interface: SlashCommand
Hierarchy
↳
SlashCommand
Properties
description
• Optional description: string
Inherited from
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: EventPlugin<Slash>[]
Defined in
options
• Optional options: (SernSubCommandData | SernSubCommandGroupData | BaseOptions)[]
Defined in
plugins
• plugins: CommandPlugin<keyof CommandModuleDefs>[]
Defined in
type
• type: Slash