mirror of
https://github.com/ION606/selmerBot.git
synced 2026-05-15 05:36:54 +00:00
Testing Heroku env file system. part 2
This commit is contained in:
@@ -5,9 +5,6 @@ module.exports = {
|
|||||||
const { Op } = require('sequelize');
|
const { Op } = require('sequelize');
|
||||||
const { Collection, Client, Formatters, Intents } = require('discord.js');
|
const { Collection, Client, Formatters, Intents } = require('discord.js');
|
||||||
const { CurrencyShop } = require('./dbObjects.js');
|
const { CurrencyShop } = require('./dbObjects.js');
|
||||||
// const { token } = require('./config.json');
|
|
||||||
//Heroku
|
|
||||||
const { token } = require('process.env');
|
|
||||||
const command = com2;
|
const command = com2;
|
||||||
|
|
||||||
const client = clientTemp; //new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
|
const client = clientTemp; //new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES] });
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
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('./commands/currency/config.json');
|
//const { token } = require('config.json');
|
||||||
//Heroku part
|
//Heroku part
|
||||||
const { token } = require('process.env');
|
const { token } = require('dotenv').config();
|
||||||
|
|
||||||
|
|
||||||
const bot = new Client({
|
const bot = new Client({
|
||||||
|
|||||||
Reference in New Issue
Block a user