Fix debug mode detection
Some checks reported warnings
Silvanus Production Dockerization / build (pull_request) Has been cancelled
Some checks reported warnings
Silvanus Production Dockerization / build (pull_request) Has been cancelled
This commit is contained in:
parent
0463695323
commit
fb43d09d13
2
main.js
2
main.js
@ -28,7 +28,7 @@ const fn = require('./modules/functions.js');
|
|||||||
const strings = require('./data/strings.json');
|
const strings = require('./data/strings.json');
|
||||||
const dbfn = require('./modules/dbfn.js');
|
const dbfn = require('./modules/dbfn.js');
|
||||||
const { GuildInfo } = require('./modules/CustomClasses.js');
|
const { GuildInfo } = require('./modules/CustomClasses.js');
|
||||||
const isDev = process.env.DEBUG;
|
const isDev = process.env.DEBUG === "true";
|
||||||
let statusChannel;
|
let statusChannel;
|
||||||
|
|
||||||
client.once('ready', async () => {
|
client.once('ready', async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user