This commit is contained in:
Alex Brow 2020-02-23 12:01:02 -05:00
parent 5860dd8b3a
commit 6b928b10da
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -244,17 +244,13 @@ client.on("message", async message => {
var role = message.guild.roles.find(role => role.name === `DEFCON 1`); var role = message.guild.roles.find(role => role.name === `DEFCON 1`);
member.addRole(role); member.addRole(role);
break; break;
default:
message.reply("Defcon level not found please use 1-5");
return;
break;
}; };
client.channels.get("680243388695445587").send(`${member} has had their **DEFCON** level set to ${role} `) client.channels.get("680243388695445587").send(`${member} has had their **DEFCON** level set to ${role} `)
return message.reply("\n**DEFCON** level set!\nGod Bless their souls") return message.reply("\n**DEFCON** level set!\nGod Bless their souls")
}; };
}; };
if(command === "adderall") { if(command === "adderall") {
switch(arg[0]) { switch(args[0]) {
case 1: case 1:
return message.channel.send(">>> They call me lil adderall") return message.channel.send(">>> They call me lil adderall")
case 2: case 2: