Hotfix events

This commit is contained in:
Snazzah 2020-08-11 21:52:50 -05:00
parent 37bfb3e2bd
commit a4d6f05765
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -31,7 +31,7 @@ module.exports = class Events {
args
});
} catch (e) {
if (this.client.config.debug) {
if (config.debug) {
console.error(`The '${command.name}' command failed.`);
console.log(e);
}