public List<IMessage> deleteBefore(int index,int amount) throws RateLimitException, DiscordException, MissingPermissionsException {
  return deleteFromRange(Math.max(0,index - amount),index + 1);
}

public List < IMessage > deleteBefore ( int index , int amount ) throws RateLimitException , DiscordException , MissingPermissionsException { return deleteFromRange ( Math . max ( 0 , index - amount ) , index + 1 ) ; }
bulk deletes messages in a sub list created from the provided index to the beginning of the list . ( note : only 100 messages can be deleted at a time ) .
