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 |
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.
Name | Type | Optional | Description |
---|---|---|---|
member | UserResolvable | '@me' | No | The member to remove |
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 |