Manages API methods for GuildMembers and stores their cache.
The cache of items for this manager.
Inherited from DataManagerThe client that instantiated this Manager
Inherited from BaseManagerThe 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 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.
| Name | Type | Optional | Description |
|---|---|---|---|
| id | Snowflake | '@me' | No | The id of the member to remove |
| reason | string | Yes | The reason for removing this member from the thread |
Resolves a data entry to a data Object.
Returns
An instance from this Manager| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | Holds | No | The id or instance of something in this Manager |
Resolves a data entry to an instance id.
Returns
| Name | Type | Optional | Description |
|---|---|---|---|
| idOrInstance | K | Holds | No | The id or instance of something in this Manager |