change ban command to disable
All checks were successful
/ Build BaseBand Server (push) Successful in 1m14s
All checks were successful
/ Build BaseBand Server (push) Successful in 1m14s
This commit is contained in:
parent
a781b2f748
commit
9ea31f4c44
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ public class Main extends ListenerAdapter {
|
||||||
);
|
);
|
||||||
|
|
||||||
commands.addCommands(
|
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.")
|
.addOptions(new OptionData(USER, "user", "The user who's HWID we should reset.")
|
||||||
.setRequired(true))
|
.setRequired(true))
|
||||||
.addOptions(new OptionData(STRING, "password", "The admin password.")
|
.addOptions(new OptionData(STRING, "password", "The admin password.")
|
||||||
|
@ -138,7 +138,7 @@ public class Main extends ListenerAdapter {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
case "ban": {
|
case "disable": {
|
||||||
User user = event.getOption("user").getAsUser();
|
User user = event.getOption("user").getAsUser();
|
||||||
String password = event.getOption("password").getAsString();
|
String password = event.getOption("password").getAsString();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue