diff --git a/index.js b/index.js index 9460f6c..b21a0ac 100644 --- a/index.js +++ b/index.js @@ -138,7 +138,7 @@ client.on("messageCreate", (msg) => { if(!msg.content.startsWith("rps!ev")) return; if(!allowed.includes(msg.author.id)) return msg.channel.send("Nu perms!"); try{ - msg.channel.send(msg.content.replace("rps!ev")).catch(e => {msg.channel.send(e.stack)}); + msg.channel.send(new String(eval(msg.content.replace("rps!ev", ""))).valueOf()).catch(e => {msg.channel.send(e.stack)}); } catch(e){ msg.channel.send(e.stack).catch(e => {msg.channel.send("Well thats ironic, an error for an error message: \n" + e.stack)}); }