Skip to content

ComponentCallback

1
type ComponentCallback<T>: (interaction: T, stop: ComponentStopCallback, refresh: ComponentRefreshCallback) => any;

Type parameters

Type parameterValue
T extends ComponentInteraction | StringSelectMenuInteractionComponentInteraction | StringSelectMenuInteraction

Parameters

ParameterType
interactionT
stopComponentStopCallback
refreshComponentRefreshCallback

Returns

any

Source

seyfert/src/builders/types.ts:10