This commit is contained in:
Erik 2022-05-11 20:25:56 +03:00
parent 99344c580d
commit d10ec5020a
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -130,7 +130,7 @@ class CommandHandler extends Observer {
let response = null;
const now = Date.now();
try {
this.logger.info(`${invoker.user.tag} (${invoker.user.id}) is executing ${invoker.command.name}`);
this.logger.info(`${invoker.user.tag} (${invoker.user.id}) is executing ${invoker.command.name} in ${invoker.guild?.name || 'dms'}`);
response = await invoker.command.execute(invoker, options);
invoker.command.success(now);
} catch (error) {