Added helpful default case

This commit is contained in:
Alex Gryczewski 2023-02-27 14:21:19 -05:00
parent 781f14d165
commit aca61214c9

View File

@ -37,9 +37,7 @@ public class PermissionCommand extends Command {
case "remove" ->
// Remove a static permission from the mentioned user, if any
remove(ctx);
default -> {
}
// You don't know how to use this command LUL
default -> ctx.reply("Incorrect usage, check ~help permission");
}
}