100 |
.setCustomId(`pagination_first_${this.id}`) |
.setCustomId(`pagination_first_${this.id}`) |
101 |
.setStyle("PRIMARY") |
.setStyle("PRIMARY") |
102 |
.setDisabled(!first) |
.setDisabled(!first) |
103 |
.setEmoji(emoji('ChevronLeft')!), |
.setEmoji(emoji('ArrowLeft')!), |
104 |
new MessageButton() |
new MessageButton() |
105 |
.setCustomId(`pagination_back_${this.id}`) |
.setCustomId(`pagination_back_${this.id}`) |
106 |
.setStyle("PRIMARY") |
.setStyle("PRIMARY") |
107 |
.setDisabled(!back) |
.setDisabled(!back) |
108 |
.setEmoji(emoji('ArrowLeft')!), |
.setEmoji(emoji('ChevronLeft')!), |
109 |
new MessageButton() |
new MessageButton() |
110 |
.setCustomId(`pagination_next_${this.id}`) |
.setCustomId(`pagination_next_${this.id}`) |
111 |
.setStyle("PRIMARY") |
.setStyle("PRIMARY") |
112 |
.setDisabled(!next) |
.setDisabled(!next) |
113 |
.setEmoji(emoji('ArrowRight')!), |
.setEmoji(emoji('ChevronRight')!), |
114 |
new MessageButton() |
new MessageButton() |
115 |
.setCustomId(`pagination_last_${this.id}`) |
.setCustomId(`pagination_last_${this.id}`) |
116 |
.setStyle("PRIMARY") |
.setStyle("PRIMARY") |
117 |
.setDisabled(!last) |
.setDisabled(!last) |
118 |
.setEmoji(emoji('ChevronRight')!) |
.setEmoji(emoji('ArrowRight')!) |
119 |
); |
); |
120 |
|
|
121 |
return actionRow; |
return actionRow; |
194 |
await message.edit({ components: [component] }); |
await message.edit({ components: [component] }); |
195 |
}); |
}); |
196 |
} |
} |
|
} |
|
197 |
|
} |