From 1254e773df9afcfa6ec5adbfa8373a70a2a2293e Mon Sep 17 00:00:00 2001 From: Alex Brow Date: Thu, 27 Feb 2020 22:24:48 -0500 Subject: [PATCH] mmm --- src/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/index.js b/src/index.js index 21596db..7c65bc0 100755 --- a/src/index.js +++ b/src/index.js @@ -306,6 +306,11 @@ client.on("message", async message => { let number = Math.floor(Math.random() * (max - min) + min) //The maximum is exclusive and the minimum is inclusive return message.channel.send(quotes[number]) } + if (command === "fix") { + if(!message.member.roles.some(r=>["Botmeister"].includes(r.name))) { + return message.reply("I guess it\'s my fault will fix."); + }; + }; }); client.login(config.token);