Interface: TextCommand
Hierarchy
Module↳
TextCommand
Properties
alias
• Optional alias: string[]
Defined in
description
• Optional description: string
Inherited from
Module.description
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
Module.execute
Defined in
name
• Optional name: string
Inherited from
Module.name
Defined in
onEvent
• onEvent: ControlPlugin<any[]>[]
Inherited from
Module.onEvent
Defined in
plugins
• plugins: InitPlugin<any[]>[]
Inherited from
Module.plugins
Defined in
type
• type: Text
Overrides
Module.type