From 980757c7fc198ec3754fecf979e11c0b4836959f Mon Sep 17 00:00:00 2001 From: rtm516 Date: Thu, 7 Mar 2024 21:27:27 +0000 Subject: [PATCH] Fix purge command args --- .../geysermc/discordbot/commands/moderation/PurgeCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/geysermc/discordbot/commands/moderation/PurgeCommand.java b/src/main/java/org/geysermc/discordbot/commands/moderation/PurgeCommand.java index a51c5384..9a593d10 100644 --- a/src/main/java/org/geysermc/discordbot/commands/moderation/PurgeCommand.java +++ b/src/main/java/org/geysermc/discordbot/commands/moderation/PurgeCommand.java @@ -75,7 +75,7 @@ protected void execute(SlashCommandEvent event) { return; } - if (event.hasOption("user")) { + if (event.hasOption("member")) { user = event.getOption("member").getAsUser(); if (user == null) {