if(member.id===interaction.guild.ownerId)throw"You cannot mute the owner of the server"
// Check if Nucleus can mute the member
// Check if Nucleus can mute the member
if(!(mePos>applyPos))throw"I do not have a role higher than that member"
if(!(mePos>applyPos))throw"I do not have a role higher than that member"
// Check if Nucleus has permission to mute
// Check if Nucleus has permission to mute
if(!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(apply.permissions.has("ADMINISTRATOR")||(interaction.options.getMember("user")asGuildMember).id===interaction.guild.ownerId)throw"You cannot mute an admin or the owner"