1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 03:33:17 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-06-09 22:33:55 +03:00
parent 54a8d3174d
commit fc9d955a68

View File

@ -3,7 +3,7 @@ const Discord = require('discord.js');
const YouTube = require('simple-youtube-api') const YouTube = require('simple-youtube-api')
const ytdl = require('ytdl-core'); const ytdl = require('ytdl-core');
const GOOGLE_API_KEY = (process.env.API_KEY) const GOOGLE_API_KEY = (process.env.API_KEY)
const PREFIX = ('!') const PREFIX = ('-')
const client = new Client({ disableEveryone: true }); const client = new Client({ disableEveryone: true });
@ -22,7 +22,7 @@ client.on('reconnecting', () => console.log('- Reconnecting -'));
client.on('ready', () => { //startup stuff client.on('ready', () => { //startup stuff
console.log('- Connected -'); console.log('- Connected -');
client.user.setActivity('!help', { type: 'LISTENING' }) client.user.setActivity('-help', { type: 'LISTENING' })
client.user.setStatus('dnd'); client.user.setStatus('dnd');
}); });