Skip to content

Commit

Permalink
Fix purge command args
Browse files Browse the repository at this point in the history
  • Loading branch information
rtm516 authored Mar 7, 2024
1 parent d413ae8 commit 980757c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 980757c

Please sign in to comment.