mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Testing Heroku env file system. part 4
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
const { Client, Intents } = require('discord.js');
|
const { Client, Intents } = require('discord.js');
|
||||||
const Discord = require('discord.js');
|
const Discord = require('discord.js');
|
||||||
const { token } = require('./config.json');
|
// const { token } = require('./config.json');
|
||||||
//Heroku part
|
//Heroku part
|
||||||
// const { token } = process.env.token;
|
// const { token } = process.env.token;
|
||||||
|
|
||||||
@@ -38,10 +38,10 @@ for (const file of commandFiles) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ECON SECTION
|
// ECON SECTION
|
||||||
bot.commands.set('ECON', require(`./commands/currency/app.js`));
|
// bot.commands.set('ECON', require(`./commands/currency/app.js`));
|
||||||
const currency = new Discord.Collection();
|
// const currency = new Discord.Collection();
|
||||||
const { Users } = require('./commands/currency/dbObjects.js');
|
// const { Users } = require('./commands/currency/dbObjects.js');
|
||||||
i++;
|
// i++;
|
||||||
|
|
||||||
bot.commNames.set('length', i);
|
bot.commNames.set('length', i);
|
||||||
|
|
||||||
@@ -104,4 +104,4 @@ bot.on('messageCreate', (message) => {
|
|||||||
|
|
||||||
|
|
||||||
//Last Line
|
//Last Line
|
||||||
bot.login(token);
|
bot.login(process.env.token);
|
||||||
Reference in New Issue
Block a user