thing
This commit is contained in:
parent
070cc46fca
commit
a938539993
@ -175,7 +175,7 @@ class CommandHandler extends Observer {
|
|||||||
let debugstr = invoker.command.name;
|
let debugstr = invoker.command.name;
|
||||||
if (invoker.subcommandGroup) debugstr += ` ${invoker.subcommandGroup.name}`;
|
if (invoker.subcommandGroup) debugstr += ` ${invoker.subcommandGroup.name}`;
|
||||||
if(invoker.subcommand) debugstr += ` ${invoker.subcommand.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);
|
response = await invoker.command.execute(invoker, options);
|
||||||
invoker.command.success(now);
|
invoker.command.success(now);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user