mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Trying to work with the config vars
This commit is contained in:
@@ -7,7 +7,7 @@ const BASE_LVL_XP = 20;
|
|||||||
|
|
||||||
// const { token } = require('./config.json');
|
// const { token } = require('./config.json');
|
||||||
//Heroku part
|
//Heroku part
|
||||||
const { token } = process.env.token;
|
// const { token } = process.env.token;
|
||||||
|
|
||||||
const bot = new Client({
|
const bot = new Client({
|
||||||
intents: [
|
intents: [
|
||||||
@@ -150,6 +150,6 @@ bot.on('messageCreate', (message) => {
|
|||||||
//Look into integrating MySQL into SelmerBot instead of SQLite
|
//Look into integrating MySQL into SelmerBot instead of SQLite
|
||||||
|
|
||||||
//Last Line(s)
|
//Last Line(s)
|
||||||
bot.login(token);
|
// bot.login(token);
|
||||||
|
|
||||||
// bot.login(process.env.token);
|
bot.login(process.env.token);
|
||||||
Reference in New Issue
Block a user