aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryson Steck <steck.bryson@gmail.com>2022-03-11 20:48:52 -0700
committerBryson Steck <steck.bryson@gmail.com>2022-03-11 20:48:52 -0700
commitd96ce5580afb6c77f084b3933fd27881648c7cc0 (patch)
treefff6011ea7e524d6bc48107761a6e30cd8f4e103
parent52ce2333b026556cc60bcc080a04e8a6a50812e2 (diff)
downloadlset-d96ce5580afb6c77f084b3933fd27881648c7cc0.tar
lset-d96ce5580afb6c77f084b3933fd27881648c7cc0.tar.gz
lset-d96ce5580afb6c77f084b3933fd27881648c7cc0.tar.bz2
changed to vars
-rw-r--r--twitch-bot/bot.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/twitch-bot/bot.js b/twitch-bot/bot.js
index e1c0db2..1a21c8d 100644
--- a/twitch-bot/bot.js
+++ b/twitch-bot/bot.js
@@ -3,10 +3,10 @@ const fs = require('fs');
// read settings and reactions json files
try {
- const settings = JSON.parse(fs.readFileSync('./settings.json', 'utf8'));
- const reacts = JSON.parse(fs.readFileSync('./reacts.json', 'utf8'));
- const commands = JSON.parse(fs.readFileSync('./commands.json', 'utf8'));
- const mod_commands = JSON.parse(fs.readFileSync('./mod_commands.json', 'utf8'));
+ var settings = JSON.parse(fs.readFileSync('./settings.json', 'utf8'));
+ var reacts = JSON.parse(fs.readFileSync('./reacts.json', 'utf8'));
+ var commands = JSON.parse(fs.readFileSync('./commands.json', 'utf8'));
+ var mod_commands = JSON.parse(fs.readFileSync('./mod_commands.json', 'utf8'));
} catch (err) {
console.error("An error occured trying to read the files for the Twitch bot: " + err);
}