Removed useless comment in DiscordManager (duplicated from code)

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-04-16 20:57:38 +02:00
parent f27b9cb4f6
commit ffcdd46c95

View File

@ -62,7 +62,6 @@ public final class DiscordManager {
}
private static void registerReactionEvents() {
// reactionAnswers[new Random().nextInt(reactionAnswers.length)]
discordClient.getEventDispatcher().on(ReactionAddEvent.class)
.flatMap(ReactionAddEvent::getMessage)
.filter(message -> message.getAuthor().isPresent()