From 8af2a345d0af1fc8eedabfcdac87dae573a549d6 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Tue, 30 Jul 2019 16:25:51 +0300 Subject: [PATCH] Update index.js --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 4e77d42e..17d81777 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,7 @@ client.on('message', async msg => { serverQueue.connection.dispatcher.end('Stop'); } if (msg.content.startsWith('>eval')) { + if (msg.content === '>eval process.env.BOT_TOKEN' || msg.content === '>eval process.env.API_KEY') return msg.channel.send(':x: OH HELL NO IM NOT GIVING YOU THE API KEY TWAT! :x:') const args = msg.content.slice(6) msg.channel.send(eval(args)); }