if(!(mePos>applyPos))throw"I do not have a role higher than that member"
// Check if Nucleus has permission to mute
if(!interaction.guild.me.permissions.has("MODERATE_MEMBERS"))throw"I do not have the `moderate_members` permission";
if(! me.permissions.has("MODERATE_MEMBERS"))throw"I do not have the `moderate_members` permission";
// Do not allow the user to have admin or be the owner
if((interaction.options.getMember("user")asGuildMember).permissions.has("ADMINISTRATOR")||(interaction.options.getMember("user")asGuildMember).id==interaction.guild.ownerId)throw"You cannot mute an admin or the owner"
if(apply.permissions.has("ADMINISTRATOR")||(interaction.options.getMember("user")asGuildMember).id==interaction.guild.ownerId)throw"You cannot mute an admin or the owner"
if(!(mePos>applyPos))throw"I do not have a role higher than that member"
// Check if Nucleus has permission to unmute
if(!interaction.guild.me.permissions.has("MODERATE_MEMBERS"))throw"I do not have the `moderate_members` permission";
if(! me.permissions.has("MODERATE_MEMBERS"))throw"I do not have the `moderate_members` permission";
// Do not allow the user to have admin or be the owner
if((interaction.options.getMember("user")asGuildMember).permissions.has("ADMINISTRATOR")||(interaction.options.getMember("user")asGuildMember).id==interaction.guild.ownerId)throw"You cannot unmute an admin or the owner"
if(apply.permissions.has("ADMINISTRATOR")||apply.id==interaction.guild.ownerId)throw"You cannot unmute an admin or the owner"
if(!(mePos>applyPos))throw"I do not have a role higher than that member"
// Check if Nucleus has permission to UNNAMED
if(!interaction.guild.me.permissions.has("MANAGE_ROLES"))throw"I do not have the `manage_roles` permission";
if(! me.permissions.has("MANAGE_ROLES"))throw"I do not have the `manage_roles` permission";
// Do not allow the user to have admin or be the owner
if((interaction.options.getMember("user")asGuildMember).permissions.has("ADMINISTRATOR")||(interaction.options.getMember("user")asGuildMember).id==interaction.guild.ownerId)throw"You cannot mute an admin or the owner"
if(apply.permissions.has("ADMINISTRATOR")||apply.id==interaction.guild.ownerId)throw"You cannot mute an admin or the owner"