change ban command to disable
All checks were successful
/ Build BaseBand Server (push) Successful in 1m14s

This commit is contained in:
Jess H 2024-06-14 02:28:39 +01:00
parent a781b2f748
commit 9ea31f4c44
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -49,7 +49,7 @@ public class Main extends ListenerAdapter {
);
commands.addCommands(
Commands.slash("ban", "Ban the given user.")
Commands.slash("disable", "Disables the given user.")
.addOptions(new OptionData(USER, "user", "The user who's HWID we should reset.")
.setRequired(true))
.addOptions(new OptionData(STRING, "password", "The admin password.")
@ -138,7 +138,7 @@ public class Main extends ListenerAdapter {
break;
}
case "ban": {
case "disable": {
User user = event.getOption("user").getAsUser();
String password = event.getOption("password").getAsString();