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
Make sure that you've checked all the items below.
Bot has the following permissions:
MESSAGE_ADD_REACTION
MESSAGE_EXT_EMOJI
MESSAGE_READ/WRITE
VIEW_CHANNEL
If using JDABuilder.createLight(), you added the following gateway intents:
GUILD_MESSAGES
GUILD_MESSAGE_REACTIONS
If using .setRemoveOnReact(true), you have the following permission:
MESSAGE_MANAGE
PaginationUtils is up-to-date.
You have activated the library as descripted in the README.
Library info
What libraries versions are you using.
JDA version 4.4.0_350
PaginationUtils version 3.0.4
Describe the bug
When I update a self-written button that is not related to Paginator, I catch an exception from Paginator (attached). I think MessageHandler handles every buttonClick event even if it is acknowleged.
To Reproduce
Steps to reproduce the behavior:
Handle onButtonClick event in self-written ListenerAdapter;
Do anything with it to set Interatction of this event to acknowleged;
MessageHandler sends an exception because the message is already acknowleged
Expected behavior
MessageHandler should handle only its own onButtonClick events.
Additional context
I believe you can differ buttons using customId and handle only yours.
Checklist
Make sure that you've checked all the items below.
JDABuilder.createLight()
, you added the following gateway intents:.setRemoveOnReact(true)
, you have the following permission:Library info
What libraries versions are you using.
Describe the bug
When I update a self-written button that is not related to Paginator, I catch an exception from Paginator (attached). I think MessageHandler handles every buttonClick event even if it is acknowleged.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
MessageHandler should handle only its own onButtonClick events.
Additional context
I believe you can differ buttons using customId and handle only yours.
stacktrace.txt
The text was updated successfully, but these errors were encountered: