From 9ea31f4c44847ca2c682056f81fa3bad4b3e154d Mon Sep 17 00:00:00 2001 From: Jess Date: Fri, 14 Jun 2024 02:28:39 +0100 Subject: [PATCH] change ban command to disable --- Discord/src/main/java/de/com/baseband/bot/Main.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Discord/src/main/java/de/com/baseband/bot/Main.java b/Discord/src/main/java/de/com/baseband/bot/Main.java index bea2f95..7ee9d6e 100644 --- a/Discord/src/main/java/de/com/baseband/bot/Main.java +++ b/Discord/src/main/java/de/com/baseband/bot/Main.java @@ -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();