From 5bde5f2a02494cdf6e90b6aec9c7cd517ce32809 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:15:33 +0300 Subject: [PATCH] Update index.js --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e27f7be1..110c030d 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ client.on('message', async msg => { msg.channel.send('-help to see my commands.') } if (msg.content.startsWith('>')) { - if (msg.author.id !== '360363051792203779') return msg.channel.send(':x: Developement commands are not avaiable for public usage!') + if (msg.author.id !== '360363051792203779') 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,6 +28,7 @@ client.on('message', async msg => { msg.channel.send(eval(args)); } } + return } if (msg.content.startsWith(`${PREFIX}`)) { var guildms = client.guilds.find(x => x.name === 'Musix Support')