4.0.0 - (2022-07-18)
🚀 Features
- Djs/v14 support (#23) (9d4ade4)
- 💥 BREAKING CHANGE: dropped support for discord.js v13, v14 is required.
- 💥 BREAKING CHANGE: Button style is changed from
string
to discord.js ButtonStyle enum.
- 💥 BREAKING CHANGE: When passing interaction to
Pagination
, It won't return Message
in render
, reply
methods but it'll return InteractionResponse<true> | Message<true>
- 💥 BREAKING CHANGE: Removed singular methods
add*
.
- pagination.addImage(imageLink)
+ pagination.addImages(imageLink)
- applies to other
add*
methods too.
- all the
add*s
and set*s
methods accepts both rest and array.
- 💥 BREAKING CHANGE: ExtraRowPosition is an enum now.
- pagination.addActionRow(new MessageActionRow(), 'above');
+ pagination.addActionRows([new ActionRowBuilder()], ExtraRowPosition.Above);