Added folder path for responses.

This commit is contained in:
chris062689 2018-07-29 18:54:36 -04:00
parent 79f42166dd
commit 528fc1ddae

View File

@ -32,7 +32,7 @@ function readBans() {
function readCustomResponses() { function readCustomResponses() {
// Load the responses file into the responses variable. // Load the responses file into the responses variable.
state.responses = require(`./${process.env.TENANT}.json`); state.responses = require(`./responses/${process.env.TENANT}.json`);
logger.debug(`Loaded responses file for ${process.env.TENANT} from external source.`); logger.debug(`Loaded responses file for ${process.env.TENANT} from external source.`);
} }