Manages API methods for GuildMembers and stores their cache.
The data structure belonging to this manager.
Inherited from DataManagerAdds a member to the thread.
Name | Type | Optional | Description |
---|---|---|---|
member | UserResolvable | '@me' | No | The member to add |
reason | string | Yes | The reason for adding this member |
Fetches thread member(s) from Discord. This method requires the GatewayIntentBits.GuildMembers privileged gateway intent.
Name | Type | Optional | Description |
---|---|---|---|
options | ThreadMember<true> | ((FetchThreadMemberOptions & { withMember: true }) | { member: ThreadMember<true> }) | No | Options for fetching thread member(s) |
Fetches the client user as a ThreadMember of the thread.
Name | Type | Optional | Description |
---|---|---|---|
options | BaseFetchOptions | Yes | The options for fetching the member |
Remove a user from the thread.
Resolves a ThreadMemberResolvable to a ThreadMember object.
Name | Type | Optional | Description |
---|---|---|---|
member | ThreadMemberResolvable | No | The user that is part of the thread |
Resolves a ThreadMemberResolvable to a ThreadMember id string.
Name | Type | Optional | Description |
---|---|---|---|
member | ThreadMemberResolvable | No | The user that is part of the guild |