We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 709b64b commit eca8167Copy full SHA for eca8167
src/main/java/com/github/ygimenez/listener/MessageHandler.java
@@ -40,9 +40,9 @@ public void onMessageReactionRemove(@Nonnull MessageReactionRemoveEvent evt) {
40
evt.getChannel().retrieveMessageById(evt.getMessageId()).queue(msg -> {
41
if (!msg.getReactions().contains(evt.getReaction())) {
42
if (evt.getReactionEmote().isEmoji())
43
- msg.addReaction(evt.getReactionEmote().getAsCodepoints()).queue();
+ msg.addReaction(evt.getReactionEmote().getAsCodepoints()).queue(null, Pages::doNothing);
44
else
45
- msg.addReaction(evt.getReactionEmote().getEmote()).queue();
+ msg.addReaction(evt.getReactionEmote().getEmote()).queue(null, Pages::doNothing);
46
}
47
}, Pages::doNothing);
48
0 commit comments