acegoal07 / discordjs-pagination

A pagination package for Discord.js
https://acegoal07.dev
MIT License
6 stars 3 forks source link

[BUG] enableAuthorIndependent #17

Closed i6h closed 1 year ago

i6h commented 1 year ago

Describe the bug enableAuthorIndependent not work when i type the command the button dont work

Error message no Error

Sample of the code where it is used

    await interaction.deferReply()
    new Pagination().setPortal(interaction)
    .setPageList(embeds)
    .setButtonList([
      new ButtonBuilder()
      .setEmoji(`◀`)
      .setStyle("Secondary")
      .setCustomId(`1`),
      new ButtonBuilder()
      .setEmoji(`▶`)
      .setStyle("Secondary")
      .setCustomId(`2`)
    ])
    .enableAuthorIndependent()
    .setTimeout(15000)
    .paginate()

Additional info

acegoal07 commented 1 year ago

Fixed in version 1.5.3