Community Members
Members are users who have joined a community. Each member can have roles assigned and a custom nickname.CommunityMember Structure
Snowflake ID of the user
Snowflake ID of the community
List of role IDs assigned to this member
Custom nickname for this member in this community. If not set, the user’s global name is used.
Get Members
Retrieve specific members from a community by their user IDs. Method:communities.getMembers
Request: GetMembers
Snowflake ID of the community
List of user IDs to fetch member information for
Members
List of community member objects with role and nickname information
List of user objects corresponding to the members (global user data like name, photo, etc.)
Get Channel Members
Retrieve a list of members who have access to a specific channel. Method:communities.getChannelMembers
Request: GetChannelMembers
Snowflake ID of the community
Snowflake ID of the channel
MemberList
List of member list entries for the channel
Edit Member
Modify a member’s properties within a community, such as their nickname or assigned roles. Method:communities.editMember
Request: EditMember
Snowflake ID of the community
Snowflake ID of the user/member to edit
New nickname for the member. Can be set to empty string to remove the nickname.
New set of roles to assign to this member. Replaces all existing roles.
CommunityMemberRoleIds Structure
List of role IDs to assign to the member
Member Permissions
A member’s effective permissions are calculated by combining:- Default permissions - Base permissions granted to all members
- Role permissions - Permissions from all roles assigned to the member
- Channel overrides - Channel-specific permission overrides for the member’s roles
ADMINISTRATOR permission bypasses all permission checks.
Permission Calculation
For members with multiple roles:- Permissions are combined using bitwise OR
- The highest priority role determines display color
- Channel overrides are applied last (denies before allows)
Member Display
When displaying members in the UI:- Use the member’s
nicknameif set, otherwise use the user’s globalname - Display color is determined by the highest priority role with a color
- Members can be grouped separately if they have a role with
separated: true - Role badges can be shown based on the member’s
role_ids