1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-07-31 10:04:41 +03:00
parent 1d36a9d285
commit fac41faf9e

View File

@ -6,7 +6,7 @@ const PREFIX = ('-')
const client = new Client({ disableEveryone: true }); const client = new Client({ disableEveryone: true });
const youtube = new YouTube(process.env.API_KEY); const youtube = new YouTube(process.env.API_KEY);
const queue = new Map(); const queue = new Map();
client.login(process.env.BOT_TOKEN); client.login(process.env.UIGEHIAGPEW);
client.on('ready', () => { client.on('ready', () => {
client.user.setActivity('-help', { type: 'LISTENING' }) client.user.setActivity('-help', { type: 'LISTENING' })
client.user.setStatus('dnd'); client.user.setStatus('dnd');