Skip to content

Commit

Permalink
Fix personality file path for CraftyAI
Browse files Browse the repository at this point in the history
  • Loading branch information
TecEash1 committed Nov 16, 2023
1 parent 4eb7ab8 commit 281c3d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion events/CraftyAI/craftyAIMention.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion events/CraftyAI/craftyAIReply.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 281c3d3

Please sign in to comment.