From f923f38f1e946405fc0b62332412095b33676522 Mon Sep 17 00:00:00 2001 From: Flame Sage Date: Fri, 29 Jun 2018 16:37:06 -0400 Subject: [PATCH] Temporarily remove triggers. --- src/server.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/server.js b/src/server.js index 1ef14c7..de8addb 100644 --- a/src/server.js +++ b/src/server.js @@ -164,17 +164,6 @@ fs.readdirSync('./src/commands/').forEach(function (file) { // Cache all triggers. 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.readBans();