mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update exe.js
This commit is contained in:
parent
e101d780e7
commit
e6263db933
@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user