forked from Galactic/galactic-bot
dingus
This commit is contained in:
parent
99344c580d
commit
d10ec5020a
@ -130,7 +130,7 @@ class CommandHandler extends Observer {
|
|||||||
let response = null;
|
let response = null;
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
try {
|
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);
|
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