Type Alias: PaginatedMessageActionButton
PaginatedMessageActionButton:
InteractionButtonComponentData
&PaginatedMessageActionRun
To utilize buttons you can pass an object with the structure of PaginatedMessageActionButton to PaginatedMessage actions.
Example
const StopAction: PaginatedMessageActionButton = {
customId: 'CustomStopAction',
emoji: '⏹️',
run: ({ collector }) => {
collector.stop();
}
}