mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
Update index.js
process.env.DISCORD_TOKEN process.env.DISCORD_DEV_UID process.env.DISCORD_DEBUG_CHANNEL_ID process.env.YOUTUBE_KEY process.env.DBL_TOKEN process.env.PREFIX
This commit is contained in:
parent
9b98935e9d
commit
2820622a70
11
index.js
11
index.js
@ -1,7 +1,7 @@
|
||||
const Discord = require('discord.js');
|
||||
const client = new Discord.Client({ disableEveryone: true, disabledEvents: ['TYPING_START'] });
|
||||
const DBL = require("dblapi.js");
|
||||
const dbl = new DBL(process.env.DBLTOKEN, client);
|
||||
const dbl = new DBL(process.env.DBL_TOKEN, client);
|
||||
const fs = require('fs');
|
||||
const dotenv = require('dotenv');
|
||||
const firebase = require('firebase/app');
|
||||
@ -38,10 +38,11 @@ client.funcs.dbget = require('./funcs/dbget.js');
|
||||
client.funcs.exe = require('./funcs/exe.js');
|
||||
|
||||
client.config = {
|
||||
token: process.env.TOKEN,
|
||||
apikey: process.env.API_KEY,
|
||||
devId: "360363051792203779",
|
||||
prefix: '>',
|
||||
token: process.env.DISCORD_TOKEN,
|
||||
debug_channel: process.env.DISCORD_DEBUG_CHANNEL_ID,
|
||||
apikey: process.env.YOUTUBE_KEY,
|
||||
devId: process.env.DISCORD_DEV_UID,
|
||||
prefix: process.env.PREFIX
|
||||
};
|
||||
|
||||
const commandFiles = fs.readdirSync('./commands/').filter(f => f.endsWith('.js'));
|
||||
|
Loading…
Reference in New Issue
Block a user