Skip to content

Commit

Permalink
add: event argument to auto delete message method call
Browse files Browse the repository at this point in the history
  • Loading branch information
pitzzahh committed Feb 26, 2023
1 parent 99bcd74 commit dfd7dd4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private void process(CommandContext context) {
);
log.info("Is user {} an admin? and can manage this server?: {}", context.getMember().getAsMention(), isAdmin);
messageUtilService.generateAutoDeleteMessage(
context.event(),
YELLOW,
"Testing",
String.format("Is user %s an admin? and can manage this server?: %s", context.getMember().getAsMention(), isAdmin)
Expand Down

0 comments on commit dfd7dd4

Please sign in to comment.