Skip to main content

Interface: PaginatedMessageActionRun

Represents an action that can be run in a paginated message.

Methods

run()?

optional run(context: PaginatedMessageActionContext): unknown

Runs the action with the given context.

Parameters

ParameterTypeDescription
contextPaginatedMessageActionContextThe context object containing information about the paginated message.

Returns

unknown

A promise that resolves when the action is complete.

Defined in

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:63