Represents a Guild-specific User. Contains all guild-specific information about a User including roles, nickname, and voice status.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/discord-jda/JDA/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Member interface represents a User within the context of a specific Guild. It provides access to guild-specific properties like nickname, roles, and permissions.Key Properties
User Information
The User wrapped by this Member entity.
The Guild in which this Member is represented.
The name displayed in the official Discord Client. Returns the guild nickname if present, otherwise returns the user’s effective name.
The current nickname of this Member for the parent Guild.Returns
null if no nickname is set.Membership Details
The time this Member joined the Guild.
Whether this member has accurate join time information. Discord doesn’t always provide this when loading members.
Returns whether this member is boosting the guild.
The time when this member boosted the guild.Returns
null if the member is not currently boosting.Roles and Permissions
The roles applied to this Member. The roles are ordered by position (highest role at index 0).Note: The @everyone role is not included in this list.
Gets the Permissions that this Member has in the Guild.
Checks whether this member has the specified permissions.
Checks whether this member is the owner of the related Guild.
Voice State
The VoiceState of this Member.Returns
null when the VOICE_STATE cache flag is disabled.Status and Activity
Returns the OnlineStatus of the User.Returns
OFFLINE if the ONLINE_STATUS cache flag is disabled.The activities of the user.Requires the ACTIVITY cache flag to be enabled.
All active ClientTypes of this Member (web, mobile, desktop).Requires the CLIENT_STATUS cache flag to be enabled.
Appearance
The Discord Id for this member’s per-guild avatar image.Returns
null if the member has not set a per-guild avatar.The URL for the member’s effective avatar image. Falls back to the user’s avatar if no per-guild avatar is set.
The colors of this Member’s name in the Guild, determined by the highest role with a color.
Timeout Management
Whether this Member is in timeout.While timed out, members can only view channels and read message history.
The time this Member will be released from timeout.Returns
null if not in timeout.Member Actions
Moderation
Bans this Member from the Guild.
Kicks this Member from the Guild.
Puts this Member in timeout for a specific amount of time.Maximum timeout duration is 28 days.
Removes a timeout from this Member.
Voice Management
Sets the Guild muted state of this Member.Requires the member to be connected to a voice channel.
Sets the Guild deafened state of this Member.Requires the member to be connected to a voice channel.
Profile Management
Changes this Member’s nickname in the guild.Provide
null or empty string to reset the nickname.Usage Example
Constants
Maximum number of days a Member can be timed out for:
28Max length of a member nickname:
32