Temporarily remove triggers.

This commit is contained in:
Flame Sage 2018-06-29 16:37:06 -04:00
parent b914780a65
commit f923f38f1e
1 changed files with 0 additions and 11 deletions

View File

@ -164,17 +164,6 @@ fs.readdirSync('./src/commands/').forEach(function (file) {
// Cache all triggers. // Cache all triggers.
cachedTriggers = []; cachedTriggers = [];
fs.readdirSync('./src/triggers/').forEach(function (file) {
// Load the trigger if it's a script.
if (path.extname(file) === '.js') {
if (file.includes('.disabled')) {
logger.info(`Did not load disabled trigger: ${file}`);
} else {
logger.info(`Loaded trigger: ${file}`);
cachedTriggers.push(require(`./triggers/${file}`));
}
}
});
data.readWarnings(); data.readWarnings();
data.readBans(); data.readBans();