From b30d497658be08fb4c99b2dfd57046f52713d033 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:20:00 +0300 Subject: [PATCH] Update index.js --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index 23ab0581..4e77d42e 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,6 @@ client.on('message', async msg => { msg.channel.send('-help to see my commands.') } 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.content === '>devstop') { serverQueue.songs = []; @@ -28,7 +27,7 @@ client.on('message', async msg => { msg.channel.send(eval(args)); } return - } + } else return msg.channel.send(':x: Developement commands are not avaiable for public usage!'); } if (msg.content.startsWith(`${PREFIX}`)) { var guildms = client.guilds.find(x => x.name === 'Musix Support')