Member

Description

Represents a member of a server (guild) in the system, combining user-specific details with server-specific attributes, such as nicknames and roles. This data type is used to manage and interact with users within the context of a server.

Properties

  • ID: The unique identifier of the member.

  • Name: The display name of the member, which returns the member's nickname if set, otherwise the user's global name.

  • Nickname: The member's nickname within the server. This property may be null if no nickname is set.

  • Avatar URL: The URL to the member's avatar. If the member has a server-specific avatar, this URL will point to it; otherwise, it will default to the user's global avatar.

  • Tag: A mention tag that can be used to reference the member in messages (e.g., <@memberID>).

  • Joined at: The date and time when the member joined the server.

  • User: The underlying user object associated with this member.

Last updated