From 295d673d06ae7d089da563757a58d3e10b65529b Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 3 Jul 2024 00:40:50 +0100 Subject: [PATCH] fix cmd execution log --- src/main/java/cc/fascinated/bat/service/CommandService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/cc/fascinated/bat/service/CommandService.java b/src/main/java/cc/fascinated/bat/service/CommandService.java index 2f621d6..8d34305 100644 --- a/src/main/java/cc/fascinated/bat/service/CommandService.java +++ b/src/main/java/cc/fascinated/bat/service/CommandService.java @@ -231,7 +231,7 @@ public class CommandService extends ListenerAdapter { } } - log.info("Executing command \"{}\" for user \"{}\" (took: {}ms}", commandName, user.getDiscordUser().getName(), + log.info("Executing command \"{}\" for user \"{}\" (took: {}ms)", commandName, user.getDiscordUser().getName(), System.currentTimeMillis() - before); executor.execute(guild, user, ranInsideGuild ? event.getChannel().asTextChannel() : event.getChannel().asPrivateChannel(), event.getMember(), event.getInteraction());