diff --git a/pom.xml b/pom.xml index d2430c3..4897868 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.github.ygimenez Pagination-Utils - 4.0.0 + 4.0.1 jar Pagination Utils @@ -33,7 +33,7 @@ https://github.com/ygimenez/Pagination-Utils scm:git:git@github.com:ygimenez/Pagination-Utils.git scm:git:git@github.com:ygimenez/Pagination-Utils.git - Pagination-Utils-4.0.0 + Pagination-Utils-4.0.1 diff --git a/src/main/java/com/github/ygimenez/method/Pages.java b/src/main/java/com/github/ygimenez/method/Pages.java index 1511c91..73aab94 100644 --- a/src/main/java/com/github/ygimenez/method/Pages.java +++ b/src/main/java/com/github/ygimenez/method/Pages.java @@ -1680,6 +1680,8 @@ public static void clearButtons(Message msg) { * @param callback Action to be executed after removing reactions. */ public static void finalizeEvent(Message msg, Consumer callback) { + msg = reloadMessage(msg); + clearButtons(msg); clearReactions(msg);