Sort commands alphabetically
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f156727413
commit
c6ee0f3ae1
@ -15,10 +15,10 @@ public class SlashCommandListener extends ListenerAdapter
|
||||
public void onSlashCommandInteraction(@NotNull SlashCommandInteractionEvent event)
|
||||
{
|
||||
switch (event.getName().toLowerCase()) {
|
||||
case "ping" -> new PingCommand(event);
|
||||
case "die" -> new DieCommand(event);
|
||||
case "coinflip" -> new CoinFlipCommand(event);
|
||||
case "clear" -> new ClearChatCommand(event);
|
||||
case "coinflip" -> new CoinFlipCommand(event);
|
||||
case "die" -> new DieCommand(event);
|
||||
case "ping" -> new PingCommand(event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user