Correct config file names

This commit is contained in:
hgw 2023-10-03 00:09:23 +00:00
parent 23dd42c963
commit 0716e7ede2
Signed by: hgw
SSH Key Fingerprint: SHA256:diG7RVYHjd3aDYkZWHYcBJbImu+6zfptuUP+3k/wol4
2 changed files with 2 additions and 2 deletions

2
bot.js
View File

@ -5,7 +5,7 @@
// / /_/ / /_/ / / / / __(__ ) // / /_/ / /_/ / / / / __(__ )
// /_.___/\____/_/ /_/\___/____/ // /_.___/\____/_/ /_/\___/____/
// //
var config = require('./config/default.json'); var config = require('./config/config.json');
var irc = require("irc"); var irc = require("irc");
var fs = require("fs"); var fs = require("fs");
const { Worker } = require('worker_threads'); const { Worker } = require('worker_threads');

View File

@ -1,4 +1,4 @@
const config = require('../config/default.json') const config = require('../config/config.json')
const { parentPort, workerData } = require('worker_threads'); const { parentPort, workerData } = require('worker_threads');
const { d1, d2 } = workerData; //Declare all used variables here (if you only pass 1 variable to this command you only really need d1 in here, but it doesnt matter) const { d1, d2 } = workerData; //Declare all used variables here (if you only pass 1 variable to this command you only really need d1 in here, but it doesnt matter)
var var1 = d1; // Declaring d1 as var1, just for consistancy with the last file but again, this may not be necessary in all cases. var var1 = d1; // Declaring d1 as var1, just for consistancy with the last file but again, this may not be necessary in all cases.