This commit is contained in:
Alex Brow 2020-02-27 22:24:48 -05:00
parent a12a8bbd2f
commit 1254e773df
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -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);