From 1d36a9d28545ac6c2c0a2010427eaf9f8ec7f62b Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Wed, 31 Jul 2019 09:57:34 +0300 Subject: [PATCH] Update index.js --- index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/index.js b/index.js index f9d6af89..e569436d 100644 --- a/index.js +++ b/index.js @@ -194,7 +194,6 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} } else if (msg.content.startsWith('-eval')) { if (msg.author.id === '360363051792203779' || msg.author.id === '384002606621655040') { const args = msg.content.slice(6) - if (eval(args) === process.env.BOT_TOKEN || eval(args) === process.env.API_KEY) return msg.channel.send(':x: I\'m sorry, The token and api key is private!'); msg.channel.send(eval(args)); return } @@ -334,7 +333,6 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} } else if (msg.content.startsWith('-eval')) { if (msg.author.id === '360363051792203779' || msg.author.id === '384002606621655040') { const args = msg.content.slice(6) - if (eval(args) === process.env.BOT_TOKEN || eval(args) === process.env.API_KEY) return msg.channel.send(':x: I\'m sorry, The token and api key is private!'); msg.channel.send(eval(args)); return }