From 4222046c20942080ed862e959c750c2f4c01bb84 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 22 Feb 2022 20:03:32 +0100 Subject: [PATCH] =?UTF-8?q?added=20a=20debug=20message=20to=20see=20if=20t?= =?UTF-8?q?he=20reaction=20listener=20works=20even=20if=20the=20reaction?= =?UTF-8?q?=20doesn=E2=80=99t=20get=20added?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/linux/general/hackyquizbot/QuizHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/linux/general/hackyquizbot/QuizHandler.java b/src/main/java/linux/general/hackyquizbot/QuizHandler.java index f6454c3..f27374f 100644 --- a/src/main/java/linux/general/hackyquizbot/QuizHandler.java +++ b/src/main/java/linux/general/hackyquizbot/QuizHandler.java @@ -26,6 +26,7 @@ public class QuizHandler { + "Select the :white_check_mark: reaction to continue.").get(); message.addReaction(EmojiParser.parseToUnicode(":white_check_mark:")); message.addReactionAddListener(event -> { + System.err.println("Received a reaction"); if (event.getReaction().get().getEmoji().equalsEmoji(EmojiParser.parseToUnicode(":white_check_mark:"))) { event.getMessage().get().getChannel().sendMessage("test"); }