Skip to content

Commit

Permalink
Merge branch 'chore/upgrade-xo' into 'master'
Browse files Browse the repository at this point in the history
Chore/upgrade xo

See merge request hugo/cmyk!1
  • Loading branch information
hugomd committed Oct 3, 2019
2 parents 3f61335 + 7b7b270 commit c9c2f19
Show file tree
Hide file tree
Showing 11 changed files with 1,749 additions and 736 deletions.
2 changes: 2 additions & 0 deletions core.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ ${pluginconfig.help}
) {
return;
}

if (msg.author.bot) {
return;
}

logger.logMsg(msg);
this.client.emit('pluginmessage', msg);
};
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const logger = require('./utils/logger');
try {
const Bot = new Core();
await Bot.run();
} catch (err) {
logger.logError(err);
} catch (error) {
logger.logError(error);
}
})();
Loading

0 comments on commit c9c2f19

Please sign in to comment.