mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-12 23:20:17 +00:00
Update index.js
This commit is contained in:
parent
07534038d3
commit
b30d497658
3
index.js
3
index.js
@ -17,7 +17,6 @@ client.on('message', async msg => {
|
|||||||
msg.channel.send('-help to see my commands.')
|
msg.channel.send('-help to see my commands.')
|
||||||
}
|
}
|
||||||
if (msg.content.startsWith('>')) {
|
if (msg.content.startsWith('>')) {
|
||||||
if (msg.author.id !== '360363051792203779' || msg.author.id !== '384002606621655040') return msg.channel.send(':x: Developement commands are not avaiable for public usage!');
|
|
||||||
if (msg.author.id === '360363051792203779' || msg.author.id === '384002606621655040') {
|
if (msg.author.id === '360363051792203779' || msg.author.id === '384002606621655040') {
|
||||||
if (msg.content === '>devstop') {
|
if (msg.content === '>devstop') {
|
||||||
serverQueue.songs = [];
|
serverQueue.songs = [];
|
||||||
@ -28,7 +27,7 @@ client.on('message', async msg => {
|
|||||||
msg.channel.send(eval(args));
|
msg.channel.send(eval(args));
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
} else return msg.channel.send(':x: Developement commands are not avaiable for public usage!');
|
||||||
}
|
}
|
||||||
if (msg.content.startsWith(`${PREFIX}`)) {
|
if (msg.content.startsWith(`${PREFIX}`)) {
|
||||||
var guildms = client.guilds.find(x => x.name === 'Musix Support')
|
var guildms = client.guilds.find(x => x.name === 'Musix Support')
|
||||||
|
Loading…
Reference in New Issue
Block a user