Advertisement
AqUpd

Untitled

May 6th, 2022
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. switch(event.getName()){
  2.     case "whitelist":
  3.         OptionMapping typeOption = event.getOption("type");
  4.         String TYPE = typeOption.getAsString();
  5.         switch(TYPE){
  6.             case "add":
  7.                 ...
  8.                 break;
  9.             case "remove":
  10.                 ...
  11.                 break;
  12.         }
  13.         break;
  14.     case "cya":
  15.         ...
  16.         break;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement