From 6b095957e4d0a8aa462616ede1c51c74f5fa3f09 Mon Sep 17 00:00:00 2001 From: Techwizz Date: Mon, 4 Sep 2023 02:03:05 -0600 Subject: [PATCH] Organized the lists into a lists folder --- index.js | 6 +++--- badwords.txt => lists/badwords.txt | 0 potentialbadwords.txt => lists/potentialbadwords.txt | 0 whitelist.txt => lists/whitelist.txt | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename badwords.txt => lists/badwords.txt (100%) rename potentialbadwords.txt => lists/potentialbadwords.txt (100%) rename whitelist.txt => lists/whitelist.txt (100%) diff --git a/index.js b/index.js index af9e501..87879fa 100644 --- a/index.js +++ b/index.js @@ -7,9 +7,9 @@ const { const Tesseract = require('tesseract.js'); const fs = require('fs'); -const badWordsList = 'badwords.txt'; -const potentialBadWordsList = 'potentialbadwords.txt'; -const whitelistList = 'whitelist.txt'; +const badWordsList = './lists/badwords.txt'; +const potentialBadWordsList = './lists/potentialbadwords.txt'; +const whitelistList = './lists/whitelist.txt'; //The arrays are filled at runtime in bot.on('ready') let badWords = []; diff --git a/badwords.txt b/lists/badwords.txt similarity index 100% rename from badwords.txt rename to lists/badwords.txt diff --git a/potentialbadwords.txt b/lists/potentialbadwords.txt similarity index 100% rename from potentialbadwords.txt rename to lists/potentialbadwords.txt diff --git a/whitelist.txt b/lists/whitelist.txt similarity index 100% rename from whitelist.txt rename to lists/whitelist.txt