code: public static CompletableFuture<MessageSet> getMessagesBefore(TextChannel channel, int limit, long before) {
          return getMessages(channel, limit, before, -1);
      }
docs: Gets up to a given amount of messages in the given channel before a given message in any channel.
  
  @param channel The channel of the messages.
  @param limit The limit of messages to get.
  @param before Get messages before the message with this id.
  @return The messages.
  @see #getMessagesBeforeAsStream(TextChannel, long)