1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Update exe.js

This commit is contained in:
Christer Warén 2019-10-31 23:47:17 +02:00 committed by GitHub
parent e101d780e7
commit e6263db933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ module.exports = function (message, args, client, Discord, prefix, command) {
.setTitle(`Musix ${error.toString()}`) .setTitle(`Musix ${error.toString()}`)
.setDescription(error.stack.replace(/at /g, '**at **')) .setDescription(error.stack.replace(/at /g, '**at **'))
.setColor('#b50002'); .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); client.channels.get(client.config.debug_channel).send(embed);
} }
}; };