- Quickstart
- API Reference
- Frequently Asked Questions
- discord.py is dead! Will this library die too?
- Are you going to/will/consider fork(ing) discord.py?
- Will discord.py be able to work with this library?
- Where should we go with discord.py being gone?
- Why are you not supporting cooldowns?
- Will we not be able to create message commands?
- My question is not answered on here!
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
andpermissions
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.