code: public JDABuilder setStatus(OnlineStatus status)
      {
          if (status == null || status == OnlineStatus.UNKNOWN)
              throw new IllegalArgumentException("OnlineStatus cannot be null or unknown!");
          this.status = status;
          return this;
      }
docs: Sets the {@link net.dv8tion.jda.core.OnlineStatus OnlineStatus} our connection will display.
  <br>This value can be changed at any time in the {@link net.dv8tion.jda.core.managers.Presence Presence} from a JDA instance.
  
  <p><b>Note:</b>This will not take affect for {@link net.dv8tion.jda.core.AccountType#CLIENT AccountType.CLIENT}
  if the status specified in the user_settings is not "online" as it is overriding our identify status.
  
  @param  status
  Not-null OnlineStatus (default online)
  
  @throws IllegalArgumentException
  if the provided OnlineStatus is null or {@link net.dv8tion.jda.core.OnlineStatus#UNKNOWN UNKNOWN}
  
  @return The JDABuilder instance. Useful for chaining.
  
  @see    net.dv8tion.jda.core.managers.Presence#setStatus(OnlineStatus) Presence.setStatus(OnlineStatus)