Testing Heroku env file system. part 4

This commit is contained in:
ION606
2022-04-30 17:30:42 -04:00
parent f468c6eb18
commit 4077eba417
+1 -2
View File
@@ -4,7 +4,6 @@ const Discord = require('discord.js');
//Heroku part //Heroku part
const { token } = process.env.token; const { token } = process.env.token;
console.log(token);
const bot = new Client({ const bot = new Client({
intents: [ intents: [
Intents.FLAGS.GUILDS, Intents.FLAGS.GUILDS,
@@ -103,4 +102,4 @@ bot.on('messageCreate', (message) => {
//Last Line //Last Line
bot.login(token); bot.login(process.env.token);