mirror of
https://github.com/citra-emu/discord-bot.git
synced 2025-01-08 22:15:38 +00:00
Added folder path for responses.
This commit is contained in:
parent
79f42166dd
commit
528fc1ddae
|
@ -32,7 +32,7 @@ function readBans() {
|
|||
|
||||
function readCustomResponses() {
|
||||
// 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.`);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue