Sort commands alphabetically
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Bea 2022-11-20 06:05:07 +01:00
parent f156727413
commit c6ee0f3ae1
1 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}
}