diff --git a/src/main/java/com/github/langebangen/kensa/listener/EventListener.java b/src/main/java/com/github/langebangen/kensa/listener/EventListener.java index be20eea..ce5470f 100644 --- a/src/main/java/com/github/langebangen/kensa/listener/EventListener.java +++ b/src/main/java/com/github/langebangen/kensa/listener/EventListener.java @@ -106,7 +106,7 @@ private void onMessageReceivedEvent() .filterWhen(event -> event.getAuthorAsMember().map(member -> !member.isBot())) .filter(message -> Command.parseCommand(message.getContent()) == null) .doOnNext(message -> logMessage(message)) - .filter(message -> (random.nextFloat() * 100) > 99) + .filter(message -> (random.nextFloat() * 1000) > 999) .flatMap(message -> message.getChannel() .flatMap(channel -> channel.createMessage("YEAH, " + message.getContent()))) .subscribe();