code: public static CompletableFuture<MessageSet> getMessagesBeforeUntil(
              TextChannel channel, Predicate<Message> condition, long before) {
          return getMessagesUntil(channel, condition, before, -1);
      }
docs: Gets messages in the given channel before a given message in any channel until one that meets the given
  condition is found.
  If no message matches the condition, an empty set is returned.
  
  @param channel The channel of the messages.
  @param condition The abort condition for when to stop retrieving messages.
  @param before Get messages before the message with this id.
  @return The messages.
  @see #getMessagesBeforeAsStream(TextChannel, long)