Skip to content

Commit

Permalink
1.5.3
Browse files Browse the repository at this point in the history
- Fixes authorIndependent issue
  • Loading branch information
acegoal07 committed Jul 18, 2023
1 parent 9b0d0e2 commit 733ec8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/InteractionPagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ exports.InteractionPagination = async(paginationInfo, options) => {
}
// Create collector
const collector = await pagination.createMessageComponentCollector({
filter: FilterCreator({interaction: paginationInfo.portal, buttonList: paginationInfo.buttonList, authorIndependent: options.authorIndependent, selectMenu: options.selectMenu}),
filter: FilterCreator({interaction: paginationInfo.portal, buttonList: paginationInfo.buttonList, authorIndependent: options.authorIndependent, selectMenu: options.selectMenu.toggle}),
time: options.timeout
});
// Button inputs
Expand Down
2 changes: 1 addition & 1 deletion src/lib/MessagePagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ exports.MessagePagination = async(paginationInfo, options) => {
}
// Create collector
const collector = pagination.createMessageComponentCollector({
filter: FilterCreator({message: paginationInfo.portal, buttonList: paginationInfo.buttonList, authorIndependent: options.authorIndependent, selectMenu: options.selectMenu}),
filter: FilterCreator({message: paginationInfo.portal, buttonList: paginationInfo.buttonList, authorIndependent: options.authorIndependent, selectMenu: options.selectMenu.toggle}),
time: options.timeout
});
// Button inputs
Expand Down

0 comments on commit 733ec8a

Please sign in to comment.