Interface: TextCommand
Hierarchy
↳
TextCommand
Properties
alias
• Optional alias: string[]
Defined in
description
• Optional description: string
Inherited from
Defined in
execute
• execute: (ctx: Context, args: ["text", string[]]) => unknown
Type declaration
▸ (ctx, args): unknown
Parameters
| Name | Type |
|---|---|
ctx | Context |
args | ["text", string[]] |
Returns
unknown
Overrides
Defined in
name
• Optional name: string
Inherited from
Defined in
onEvent
• onEvent: EventPlugin<Text>[]
Defined in
plugins
• plugins: CommandPlugin<keyof CommandModuleDefs>[]
Defined in
type
• type: Text