Skip to main content

Interface: PaginatedMessageActionRun

Defined in: projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:57

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

Methods

run()?

optional run(context: PaginatedMessageActionContext): unknown

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

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.