From c09163bc0dd6d731b69c3c010bbeecd00ef999e3 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 19 Feb 2020 21:58:32 +0200 Subject: [PATCH] Update exe.js --- struct/funcs/exe.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/struct/funcs/exe.js b/struct/funcs/exe.js index e0ad8d51..72dbabe1 100644 --- a/struct/funcs/exe.js +++ b/struct/funcs/exe.js @@ -12,6 +12,7 @@ module.exports = function (msg, args, client, Discord, prefix, command) { .setDescription(error.stack.replace(/at /g, '**at **')) .setColor('#b50002'); //client.fetchUser(client.config.devId).then(user => user.send(embed)).catch(console.error); - client.channels.get(client.config.debug_channel).send(embed); + //client.channels.get(client.config.debug_channel).send(embed); + console.error(error); } };