Skip to content

Commit

Permalink
Fixed expire not removing buttons or reactions
Browse files Browse the repository at this point in the history
  • Loading branch information
ygimenez committed Mar 7, 2023
1 parent a899d60 commit bf8914a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.ygimenez</groupId>
<artifactId>Pagination-Utils</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
<packaging>jar</packaging>

<name>Pagination Utils</name>
Expand Down Expand Up @@ -33,7 +33,7 @@
<url>https://github.com/ygimenez/Pagination-Utils</url>
<connection>scm:git:git@github.com:ygimenez/Pagination-Utils.git</connection>
<developerConnection>scm:git:git@github.com:ygimenez/Pagination-Utils.git</developerConnection>
<tag>Pagination-Utils-4.0.0</tag>
<tag>Pagination-Utils-4.0.1</tag>
</scm>

<distributionManagement>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/github/ygimenez/method/Pages.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Void> callback) {
msg = reloadMessage(msg);

clearButtons(msg);
clearReactions(msg);

Expand Down

0 comments on commit bf8914a

Please sign in to comment.