mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-05 23:06:14 +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
|
//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);
|
||||||
Reference in New Issue
Block a user