Dump env vars to log in dev
This commit is contained in:
parent
c342f4741a
commit
20a2665615
3
main.js
3
main.js
@ -6,6 +6,9 @@ dotenv.config();
|
||||
const token = process.env.TOKEN;
|
||||
const statusChannelId = process.env.statusChannelId;
|
||||
|
||||
// Dump the env vars to log in dev environment:
|
||||
if (process.env.isDev === "true") console.log(JSON.stringify(process.env));
|
||||
|
||||
// Discord.JS
|
||||
const { Client, Intents } = require('discord.js');
|
||||
const client = new Client({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user