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:
parent
54a8d3174d
commit
fc9d955a68
4
index.js
4
index.js
@ -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');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user