This commit is contained in:
Alex Brow 2020-03-23 09:32:32 -04:00
parent 4c7e75cfe5
commit 01f8566ac4
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -238,6 +238,7 @@ client.on("message", async message => {
case 3: case 3:
var role = message.guild.roles.find(role => role.name === `DEFCON 3`); var role = message.guild.roles.find(role => role.name === `DEFCON 3`);
member.roles.add(role); member.roles.add(role);
break;
case 2: case 2:
var role = message.guild.roles.find(role => role.name === `DEFCON 2`); var role = message.guild.roles.find(role => role.name === `DEFCON 2`);
member.roles.add(role); member.roles.add(role);