diff --git a/src/PaginationEmbed.ts b/src/PaginationEmbed.ts index e484c3b..6a4fb48 100644 --- a/src/PaginationEmbed.ts +++ b/src/PaginationEmbed.ts @@ -855,7 +855,7 @@ export class PaginationEmbed extends MessageEmbed { this.buttons.first?.setDisabled(true); this.buttons.prev?.setDisabled(true); } - this.mainActionRow.setComponents(...this.buttons); + this.mainActionRow.setComponents(Object.values(this.buttons)); this.actionRows = [this.mainActionRow]; if (this.extraRows.length > 0) { this.extraRows.forEach((row) => {