Constructor
new Member() → {User}
- Source
- Type:
- User
const member = interaction.member; // returns the member object
const memberFlags = interaction.member.flags; // returns the member flags
Members
avatar :string
the avatar hash of this member
- string
- Source
(nullable) avatarURL :string
the avatar url of the member
- string
- Source
communicationDisabledUntil :number
when the user's timeout will expire and the user will be able to communicate in the guild again, null or a time in the past if the user is not timed out
- number
- Source
deaf :boolean
whether the user is deafened in voice channels
- boolean
- Source
flags :number
the flags on a user's account
- number
- Source
id :number
the id of this member
- number
- Source
isPending :boolean
whether the user has not yet passed the guild's Membership Screening requirements
- boolean
- Source
joinedAt :number
when the user joined the guild
- number
- Source
joinedAtDate :Date
The date of the member's creation
- Date
- Source
muted :boolean
whether the user is muted in voice channels
- boolean
- Source
nickname :string
this user's guild nickname
- string
- Source
pending :string
whether the user has not yet passed the guild's Membership Screening requirements
- string
- Source
permissions :object
total permissions of the member in the channel, including overwrites, returned when in the interaction object
- object
- Source
premiumSince :number
when the user started boosting the guild
- number
- Source
roles :array
array of role object ids
- array
- Source