Skip to main content

Interface: PaginatedMessageOptions

discord.js-utilities/src.PaginatedMessageOptions

Properties

actions

Optional actions: PaginatedMessageAction[]

Custom actions to provide when sending the paginated message

Defined in

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


embedFooterSeparator

Optional embedFooterSeparator: string

seealso PaginatedMessage.embedFooterSeparator

Defined in

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


pageIndexPrefix

Optional pageIndexPrefix: string

seealso PaginatedMessage.pageIndexPrefix

Defined in

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


pages

Optional pages: PaginatedMessagePage[]

The pages to display in this PaginatedMessage

Defined in

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


paginatedMessageData

Optional paginatedMessageData: null | Omit<PaginatedMessageMessageOptionsUnion, "components">

Additional options that are applied to each message when sending it to Discord. Be careful with using this, misusing it can cause issues, such as sending empty messages.

remark This is for advanced usages only!

default null

Defined in

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


template

Optional template: MessageOptions | MessageEmbed

The {@link MessageEmbed} or {@link MessageOptions} options to apply to the entire PaginatedMessage

Defined in

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