member.roles.add(role).then(message.reply(`${member.user} has been given the **${role}** role!`)).catch(()=>{message.reply("It seems I don't have permissions to give that role, as it's likely above me :(")});
member.roles.add(role).then(message.reply(`${member.user} has been given the **${role}** role!`)).catch(()=>{message.reply("It seems I don't have permissions to give that role, as it's likely above me :(")});
}else{
}else{
message.reply("I guess you won't be getting that role!");
message.reply("I guess you won't be getting that role!");
@ -362,12 +362,12 @@ async function ban(message) {
message.guild.members.ban(member.user).then(user=>message.reply(`<@${user.id}> has been banned!`)).catch(()=>message.channel.send(`Unfortunately, I don't have the ability to ban ${member.user.username}, likely because their role is higher than mine.`));
message.guild.members.ban(member.user).then(user=>message.reply(`<@${user.id}> has been banned!`)).catch(()=>message.channel.send(`Unfortunately, I don't have the ability to ban ${member.user.username}, likely because their role is higher than mine.`));
}else{
}else{
message.reply(`phew! ${member}'s safe!`);
message.reply(`phew! ${member}'s safe!`);
@ -414,12 +414,12 @@ async function kick(message) {
member.kick().then(user=>message.reply(`<@${user.id}> has been kicked!`)).catch(()=>message.channel.send(`Unfortunately, I don't have the ability to kick ${member.user.username}, likely because their role is higher than mine.`));
member.kick().then(user=>message.reply(`<@${user.id}> has been kicked!`)).catch(()=>message.channel.send(`Unfortunately, I don't have the ability to kick ${member.user.username}, likely because their role is higher than mine.`));
}else{
}else{
message.reply(`phew! ${member}'s safe!`);
message.reply(`phew! ${member}'s safe!`);
@ -527,12 +527,12 @@ async function roleRequest(message) {
message.member.roles.add(role).then(message.reply("wow I guess you ARE worthy! ||mods must be real mistaken||")).catch(()=>{message.reply("It seems I don't have permissions to give that role, as it's likely above me :(")});
message.member.roles.add(role).then(message.reply("wow I guess you ARE worthy! ||mods must be real mistaken||")).catch(()=>{message.reply("It seems I don't have permissions to give that role, as it's likely above me :(")});
}else{
}else{
message.reply("I guess you won't be getting that role!");
message.reply("I guess you won't be getting that role!");