add squad command

This commit is contained in:
Alex Brow 2020-02-17 00:11:08 -05:00
parent c6f2d1336a
commit b604dfa5ea
No known key found for this signature in database
GPG Key ID: F48926893F475C25
1 changed files with 6 additions and 0 deletions

View File

@ -203,6 +203,12 @@ client.on("message", async message => {
if(command === "psych") {
return message.channel.send("Rules for finding a psychopath: \n1. Favorite color is orange \n2. Likes the left burners, worse if its top left\n3. Calls pizza sauce/tomato sauce gravy\n4. Doesnt like salad\n5. Likes country music\n6. Makes hot chocolate with water\n7. Likes black licorice")
}
if(command === "squad") {
min = Math.ceil(0);
max = Math.floor(11);
let rate = Math.floor(Math.random() * (max - min) + min); //The maximum is exclusive and the minimum is inclusive
return message.reply(`The squad rates this $rate out of 10`)
}
});
client.login(config.token);