Correct config file names
This commit is contained in:
parent
23dd42c963
commit
0716e7ede2
2
bot.js
2
bot.js
@ -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');
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user