fixed mismatch issue

This commit is contained in:
Bryson Steck 2022-03-11 17:11:48 -07:00
parent 54037847b6
commit 92ab1b1c85

View file

@ -11,7 +11,7 @@ fs.readFile('./settings.json', 'utf8', (err, data) => {
// parse JSON string to JSON object // parse JSON string to JSON object
const settings = JSON.parse(data); const settings = JSON.parse(data);
} }
} });
fs.readFile('./reacts.json', 'utf8', (err, data) => { fs.readFile('./reacts.json', 'utf8', (err, data) => {
if (err) { if (err) {
@ -21,7 +21,7 @@ fs.readFile('./reacts.json', 'utf8', (err, data) => {
// parse JSON string to JSON object // parse JSON string to JSON object
const reacts = JSON.parse(data); const reacts = JSON.parse(data);
} }
} });
fs.readFile('./commands.json', 'utf8', (err, data) => { fs.readFile('./commands.json', 'utf8', (err, data) => {
if (err) { if (err) {
@ -31,7 +31,7 @@ fs.readFile('./commands.json', 'utf8', (err, data) => {
// parse JSON string to JSON object // parse JSON string to JSON object
const commands = JSON.parse(data); const commands = JSON.parse(data);
} }
} });
fs.readFile('./mod_commands.json', 'utf8', (err, data) => { fs.readFile('./mod_commands.json', 'utf8', (err, data) => {
if (err) { if (err) {
@ -41,7 +41,7 @@ fs.readFile('./mod_commands.json', 'utf8', (err, data) => {
// parse JSON string to JSON object // parse JSON string to JSON object
const mod_commands = JSON.parse(data); const mod_commands = JSON.parse(data);
} }
} });
const opts = { const opts = {
identity: { identity: {