isManageable property
bool
get
isManageable
Returns whether of this has a given is manageable]
final member = member.isManageable;
print(member);
Implementation
bool get isManageable {
if (user.id == guild.owner.id) return false;
if (user.id == ioc.use<MineralClient>().user.id) return false;
if (ioc.use<MineralClient>().user.id == guild.owner.id) return true;
return guild.members.me.roles.highest.position < roles.highest.position;
}