1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-10-11 14:27:20 +03:00
parent 6c108f5b71
commit 62a07834a8

View File

@ -1,7 +1,7 @@
const Discord = require('discord.js'); const Discord = require('discord.js');
const client = new Discord.Client({ disableEveryone: true, disabledEvents: ['TYPING_START'] }); const client = new Discord.Client({ disableEveryone: true, disabledEvents: ['TYPING_START'] });
const DBL = require("dblapi.js"); const DBL = require("dblapi.js");
const dbl = new DBL(process.env.MUSIX_DBLTOKEN, client); const dbl = new DBL(process.env.DBLTOKEN, client);
const fs = require('fs'); const fs = require('fs');
const dotenv = require('dotenv'); const dotenv = require('dotenv');
const firebase = require('firebase/app'); const firebase = require('firebase/app');
@ -34,7 +34,7 @@ client.funcs.msToTime = require('./funcs/msToTime.js');
client.funcs.dbget = require('./funcs/dbget.js'); client.funcs.dbget = require('./funcs/dbget.js');
client.config = { client.config = {
token: process.env.MUSIX_REALTOKEN, token: process.env.TOKEN,
apikey: process.env.API_KEY, apikey: process.env.API_KEY,
prefix: '>', prefix: '>',
test: 'success', test: 'success',