Added folder path for responses.
This commit is contained in:
parent
79f42166dd
commit
528fc1ddae
|
@ -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.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue