fix debug check
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 15s
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 15s
This commit is contained in:
parent
b5c7d8448c
commit
43881400df
2
main.js
2
main.js
@ -3,6 +3,7 @@
|
|||||||
// dotenv for handling environment variables
|
// dotenv for handling environment variables
|
||||||
const dotenv = require('dotenv');
|
const dotenv = require('dotenv');
|
||||||
dotenv.config();
|
dotenv.config();
|
||||||
|
const isDev = process.env.isDev === 'true';
|
||||||
const token = process.env.TOKEN;
|
const token = process.env.TOKEN;
|
||||||
const statusChannelId = process.env.statusChannelId;
|
const statusChannelId = process.env.statusChannelId;
|
||||||
const heartbeatUrl = process.env.HEARTBEAT_URL;
|
const heartbeatUrl = process.env.HEARTBEAT_URL;
|
||||||
@ -34,7 +35,6 @@ const fn = require('./functions.js');
|
|||||||
const config = require('./config.json');
|
const config = require('./config.json');
|
||||||
const strings = require('./strings.json');
|
const strings = require('./strings.json');
|
||||||
const { GifData } = require('./CustomModules/NodBot.js');
|
const { GifData } = require('./CustomModules/NodBot.js');
|
||||||
const isDev = process.env.isDev;
|
|
||||||
|
|
||||||
client.once('ready', async () => {
|
client.once('ready', async () => {
|
||||||
fn.collections.slashCommands(client);
|
fn.collections.slashCommands(client);
|
||||||
|
Loading…
Reference in New Issue
Block a user