Removed useless comment in DiscordManager (duplicated from code)
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
f27b9cb4f6
commit
ffcdd46c95
@ -62,7 +62,6 @@ public final class DiscordManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static void registerReactionEvents() {
|
private static void registerReactionEvents() {
|
||||||
// reactionAnswers[new Random().nextInt(reactionAnswers.length)]
|
|
||||||
discordClient.getEventDispatcher().on(ReactionAddEvent.class)
|
discordClient.getEventDispatcher().on(ReactionAddEvent.class)
|
||||||
.flatMap(ReactionAddEvent::getMessage)
|
.flatMap(ReactionAddEvent::getMessage)
|
||||||
.filter(message -> message.getAuthor().isPresent()
|
.filter(message -> message.getAuthor().isPresent()
|
||||||
|
Loading…
Reference in New Issue
Block a user