From e6263db9339b8a61bee4878234a4c266704be8cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 31 Oct 2019 23:47:17 +0200 Subject: [PATCH] Update exe.js --- funcs/exe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/funcs/exe.js b/funcs/exe.js index b3bdc73b..3d1c9382 100644 --- a/funcs/exe.js +++ b/funcs/exe.js @@ -9,7 +9,7 @@ module.exports = function (message, args, client, Discord, prefix, command) { .setTitle(`Musix ${error.toString()}`) .setDescription(error.stack.replace(/at /g, '**at **')) .setColor('#b50002'); - client.fetchUser(client.global.devId).then(user => user.send(embed)).catch(console.error); + client.fetchUser(client.config.devId).then(user => user.send(embed)).catch(console.error); client.channels.get(client.config.debug_channel).send(embed); } };