From 3c8e6ae403853d6baa70e18635493e234c200cb7 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:48:27 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 6cc5dad8..9123d645 100644 --- a/index.js +++ b/index.js @@ -328,8 +328,8 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")} serverQueue.connection.dispatcher.end('Stop'); } if (msg.content.startsWith('>eval')) { - 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!') 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