fixed mismatch issue
This commit is contained in:
parent
54037847b6
commit
92ab1b1c85
1 changed files with 4 additions and 4 deletions
|
@ -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: {
|
||||||
|
|
Reference in a new issue