🫂Member
The Member component extends the User component. (Member is a Guild Member or Server Member)
Last updated
The Member component extends the User component. (Member is a Guild Member or Server Member)
Last updated
Property | Description | Type |
---|---|---|
Properties | Description | Type | Required? |
---|---|---|---|
Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.
Get a specific social link from member.
Returns: Promise<Object>
Add member to a guild group.
Returns: Promise<void>
Remove member from a guild group.
Returns: Promise<void>
Add a role to member.
Returns: Promise<void>
Remove a role from member.
Returns: Promise<void>
Properties | Description | Type | Required? |
---|---|---|---|
Properties | Description | Type | Required? |
---|---|---|---|
Properties | Description | Type | Required? |
---|---|---|---|
Properties | Description | Type | Required? |
---|---|---|---|
Properties | Description | Type | Required? |
---|---|---|---|
roles
Member's roles
Array|null
nickname
Member's guild nickname
String|null
_joinedAt
Timestamp of when the user joined the guild.
Number|null
isOwner
If the member is the guild's owner or not.
Boolean
guildID
The ID of the guild.
String
guild
Guild component
joinedAt
string representation of the _joinedAt timestamp.
Date
user
User component with less information.
rawData
raw data received from ws and converted to JSON
Object
true
client
Client
true
guildID
Guild id
String
true
socialMediaName
The name of the social you'd like to get from the member
String
true
groupID
the id of the guild group
String
true
groupID
the id of the guild group
String
true
roleID
the id of the role
Number
true
roleID
the id of the role
Number
true