From 281c3d383684a7f3bec3897122650f734bfeb050 Mon Sep 17 00:00:00 2001 From: TechyGiraffe999 <92249532+TecEash1@users.noreply.github.com> Date: Thu, 16 Nov 2023 21:04:17 +0000 Subject: [PATCH] Fix personality file path for CraftyAI --- events/CraftyAI/craftyAIMention.js | 2 +- events/CraftyAI/craftyAIReply.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/events/CraftyAI/craftyAIMention.js b/events/CraftyAI/craftyAIMention.js index a7166db..eea2ff1 100644 --- a/events/CraftyAI/craftyAIMention.js +++ b/events/CraftyAI/craftyAIMention.js @@ -55,7 +55,7 @@ module.exports = { const page = await browser.newPage(); - const personalityFilePath = path.join(__dirname, '../../interactions/modals/category/personality.txt'); + const personalityFilePath = path.join(__dirname, '../../interactions/modals/category/CraftyAI/personality.txt'); const personalityContent = await fs.readFile(personalityFilePath, 'utf-8'); const personalityLines = personalityContent.split('\n'); diff --git a/events/CraftyAI/craftyAIReply.js b/events/CraftyAI/craftyAIReply.js index a98b825..008402c 100644 --- a/events/CraftyAI/craftyAIReply.js +++ b/events/CraftyAI/craftyAIReply.js @@ -71,7 +71,7 @@ module.exports = { const page = await browser.newPage(); - const personalityFilePath = path.join(__dirname, '../../interactions/modals/category/personality.txt'); + const personalityFilePath = path.join(__dirname, '../../interactions/modals/category/CraftyAI/personality.txt'); const personalityContent = await fs.readFile(personalityFilePath, 'utf-8'); const personalityLines = personalityContent.split('\n');