Skip to content

Commit

Permalink
fix ButtonEmbedPaginator finalAction (#85)
Browse files Browse the repository at this point in the history
* Bugfix ButtonEmbedPaginator finalAction

* Fix typo
  • Loading branch information
TheMather1 committed Jun 17, 2024
1 parent d07199e commit 9dd9857
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,9 @@ private void handleButtonInteraction(ButtonInteractionEvent event, Message messa
}
}
} else if (emoji.equals(STOP)) {
finalAction.accept(message);
event.deferEdit().queue(
interactionHook -> finalAction.accept(message)
);
return;
}

Expand Down

0 comments on commit 9dd9857

Please sign in to comment.