discord-interactions

Member Models

class interactions.api.models.member.Member(**kwargs)

A class object representing the member of a guild.

Note

Also known as the guild member class object. (or partial)

The methodology, instead of regular d.py conventions is to do member.user to get the pure User object, instead of d.py’s option of merging.

pending and permissions only apply for members retroactively requiring to verify rules via. membership screening or lack permissions to speak.

Variables
  • user (interactions.api.models.user.User) – The user of the guild.

  • nick (str) – The nickname of the member.

  • avatar (typing.Optional[str]) – The hash containing the user’s guild avatar, if applicable.

  • roles (typing.List[int]) – The list of roles of the member.

  • joined_at (datetime.datetime.timestamp) – The timestamp the member joined the guild at.

  • premium_since (datetime.datetime) – The timestamp the member has been a server booster since.

  • deaf (bool) – Whether the member is deafened.

  • mute (bool) – Whether the member is muted.

  • is_pending (typing.Optional[bool] pending /) – Whether the member is pending to pass membership screening.

  • permissions (typing.Optional[str]) – Whether the member has permissions.