From a938539993711d614c13967371c4b9880552767d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Wed, 27 Jul 2022 19:25:08 +0300 Subject: [PATCH] thing --- src/structure/components/observers/CommandHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure/components/observers/CommandHandler.js b/src/structure/components/observers/CommandHandler.js index 673e3aa..62593e1 100644 --- a/src/structure/components/observers/CommandHandler.js +++ b/src/structure/components/observers/CommandHandler.js @@ -175,7 +175,7 @@ class CommandHandler extends Observer { let debugstr = invoker.command.name; if (invoker.subcommandGroup) debugstr += ` ${invoker.subcommandGroup.name}`; if(invoker.subcommand) debugstr += ` ${invoker.subcommand.name}`; - this.logger.info(`${invoker.user.tag} (${invoker.user.id}) is executing ${debugstr} in ${invoker.guild?.name || 'dms'}`); + this.logger.info(`[${invoker.type.toUpperCase()}] ${invoker.user.tag} (${invoker.user.id}) is executing ${debugstr} in ${invoker.guild?.name || 'dms'}`); response = await invoker.command.execute(invoker, options); invoker.command.success(now); } catch (error) {