diff --git a/index.js b/index.js index d5c5775f..6cc5dad8 100644 --- a/index.js +++ b/index.js @@ -328,7 +328,7 @@ ${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!') + 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) msg.channel.send(eval(args)); }