You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying this module and I found a bizzarre undocumented feature.
When clicking on the emojis of the message, the bot removes the bot's reaction instead of the user's.
The text was updated successfully, but these errors were encountered:
By chance was it your own bot that sent the message which then caused the pagination embed to be sent?
The only line in the code that removes ANY reaction is this:
reaction.users.remove(msg.author);
Where msg is the message you passed into the paginationEmbed function, this message should be a message that one of your users sent (and thus ran a command). The only way for the bot to remove it's own reaction instead of the users reaction is if the message you passed into paginationEmbed was actually authored by the bot.
Edit: my PR fixes this by exposing the user who reacted in the collect event, allowing them to be removed by their id instead.
I was trying this module and I found a bizzarre undocumented feature.
When clicking on the emojis of the message, the bot removes the bot's reaction instead of the user's.
The text was updated successfully, but these errors were encountered: