forked from Fascinated/Bat
fix cmd execution log
This commit is contained in:
parent
da06a01097
commit
295d673d06
@ -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);
|
System.currentTimeMillis() - before);
|
||||||
executor.execute(guild, user, ranInsideGuild ? event.getChannel().asTextChannel() : event.getChannel().asPrivateChannel(),
|
executor.execute(guild, user, ranInsideGuild ? event.getChannel().asTextChannel() : event.getChannel().asPrivateChannel(),
|
||||||
event.getMember(), event.getInteraction());
|
event.getMember(), event.getInteraction());
|
||||||
|
Loading…
Reference in New Issue
Block a user