Expand description
Member and membership checks (permissions §4.3, §4.5, §4.6; specification §8.3, §8.9). The required bit of each command is checked by the table first.
Functions§
- approve
membership.approve. APendingtarget has no roles, so no H2; but the approver must be able to assign every default role applied at approval (specification §8.9). Ending aProbationearly needs H1 and H2 (permissions §4.6).- kick_
or_ ban member.kickandmember.ban: not self (usecommunity.leave); H1; H2.- moderate_
content - Deleting another member’s message or removing their reaction: H1 only, no H2 (§4.5).
- nickname
member.updateof a nickname: one’s own needs onlyCHANGE_NICKNAME(table); another’s needs H1 and H2.- reject
membership.reject: the target isPending.- restore
membership.restore: not self; H1; H2; the target isSuspended.- suspend
membership.suspend: not self; H1; H2; the target isProbationorActive.- timeout
member.timeout(set or clear): H1; H2; never the owner; never a target holdingADMINISTRATOR;until ≤ now + 28 days.