mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-14 21:26:54 +00:00
Testing Heroku env file system. part 4
This commit is contained in:
@@ -4,7 +4,6 @@ const Discord = require('discord.js');
|
||||
//Heroku part
|
||||
const { token } = process.env.token;
|
||||
|
||||
console.log(token);
|
||||
const bot = new Client({
|
||||
intents: [
|
||||
Intents.FLAGS.GUILDS,
|
||||
@@ -103,4 +102,4 @@ bot.on('messageCreate', (message) => {
|
||||
|
||||
|
||||
//Last Line
|
||||
bot.login(token);
|
||||
bot.login(process.env.token);
|
||||
Reference in New Issue
Block a user