Make sure that you've checked all the items below.
[x] Bot has the following permissions:
MESSAGE_ADD_REACTION
MESSAGE_EXT_EMOJI
MESSAGE_READ/WRITE
VIEW_CHANNEL
[x] If using JDABuilder.createLight(), you added the following gateway intents:
GUILD_MESSAGES
GUILD_MESSAGE_REACTIONS
[x] If using .setRemoveOnReact(true), you have the following permission:
MESSAGE_MANAGE
[x] PaginationUtils is up-to-date.
[x] 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