From 0fc5e6514ac7d4cb7535901b16cb6493d5846bf5 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 27 Jun 2024 13:36:03 +0100 Subject: [PATCH] add command execution log --- src/main/java/cc/fascinated/bat/service/CommandService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cc/fascinated/bat/service/CommandService.java b/src/main/java/cc/fascinated/bat/service/CommandService.java index 9eeef9b..5aee29a 100644 --- a/src/main/java/cc/fascinated/bat/service/CommandService.java +++ b/src/main/java/cc/fascinated/bat/service/CommandService.java @@ -148,6 +148,7 @@ public class CommandService extends ListenerAdapter { return; } } + log.info("Executing command \"{}\" for user \"{}\"", commandName, user.getDiscordUser().getName()); executor.execute(guild, user, ranInsideGuild ? event.getChannel().asTextChannel() : event.getChannel().asPrivateChannel(), event.getMember(), event.getInteraction()); } catch (Exception ex) {