public static void delete(String code,JDA jda){
  Invite invite=resolve(code);
  if (invite == null)   throw new IllegalArgumentException("The provided Invite code was invalid, thus JDA cannot attempt" + "to delete it! Provided Code: " + code);
  delete(invite,jda);
}

public static void delete ( String code , JDA jda ) { Invite invite = resolve ( code ) ; if ( invite == null ) throw new IllegalArgumentException ( "The provided Invite code was invalid, thus JDA cannot attempt" + "to delete it! Provided Code: " + code ) ; delete ( invite , jda ) ; }
tells discord to delete the specified invite from the server . after deleting , this invite will no longer work for anyone .
