ComponentCommand
Constructors
new ComponentCommand()
1new ComponentCommand(): ComponentCommand
Returns
Properties
Property | Modifier | Type |
---|---|---|
__filePath? | public | string |
componentType | abstract | keyof ComponentCommandInteractionMap |
type | public | 0 |
Accessors
cType
1get cType(): number
Returns
number
Source
seyfert/src/components/command.ts:20
Methods
filter()
1abstract filter(interaction: ComponentContext<keyof ComponentCommandInteractionMap>): boolean | Promise<boolean>
Parameters
Parameter | Type |
---|---|
interaction | ComponentContext <keyof ComponentCommandInteractionMap > |
Returns
boolean
| Promise
<boolean
>
Source
seyfert/src/components/command.ts:17
run()
1abstract run(interaction: ComponentContext<keyof ComponentCommandInteractionMap>): any
Parameters
Parameter | Type |
---|---|
interaction | ComponentContext <keyof ComponentCommandInteractionMap > |
Returns
any