numbers are hard

This commit is contained in:
Alex Brow 2020-02-20 21:25:06 -05:00
parent de119b3d45
commit 8fb6c01c8e
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -223,7 +223,7 @@ client.on("message", async message => {
if(!message.member.roles.some(r=>["Admin","Member of the Order of the b l u e","Botmeister"].includes(r.name)) )
return message.reply("Sorry, you don't have permissions to use this!");
else {
let con = parseInt(args[0], 5)
let con = parseInt(args[1], 10)
let member = message.mentions.members.first();
let role = message.guild.roles.find(role => role.name === `DEFCON ${con}`);
member.addRole(role)
@ -231,7 +231,7 @@ client.on("message", async message => {
};
};
if(command === "adderal") {
let quote = parseInt(args[1], 7)
let const = parseInt(args[1], 10)
if(quote = 1) return message.channel.send(">>> They call me lil adderall")
if(quote = 2) return message.channel.send(">>> Second time being detained...I faked my death by having a fake seizure.......You know what they call me......Lil Adderall");
if(quote = 3) return message.channel.send(">>> So note to self dont ask those types of questions to Osseley...Ive been detained 3 times they call me...lil adderall");