Skip to content

ComponentCommand

Constructors

new ComponentCommand()

1
new ComponentCommand(): ComponentCommand

Returns

ComponentCommand

Properties

PropertyModifierType
__filePath?publicstring
componentTypeabstractkeyof ComponentCommandInteractionMap
typepublic0

Accessors

cType

1
get cType(): number

Returns

number

Source

seyfert/src/components/command.ts:20

Methods

filter()

1
abstract filter(interaction: ComponentContext<keyof ComponentCommandInteractionMap>): boolean | Promise<boolean>

Parameters

ParameterType
interactionComponentContext<keyof ComponentCommandInteractionMap>

Returns

boolean | Promise<boolean>

Source

seyfert/src/components/command.ts:17


run()

1
abstract run(interaction: ComponentContext<keyof ComponentCommandInteractionMap>): any

Parameters

ParameterType
interactionComponentContext<keyof ComponentCommandInteractionMap>

Returns

any

Source

seyfert/src/components/command.ts:18