class ThreadMemberManager
extends
CachedManager<Snowflake, ThreadMember, ThreadMemberResolvable>export class ThreadMemberManager extends CachedManager<Snowflake, ThreadMember, ThreadMemberResolvable>
Manages API methods for GuildMembers and stores their cache.
readonlyCollection<Key, Holds> cache :
The cache of items for this manager.
Inherited from: DataManager
readonlyConstructable<Holds> holds :
The data structure belonging to this manager.
Inherited from: DataManager
readonlyThreadMember | null me :
The client user as a ThreadMember of this ThreadChannel
AnyThreadChannel thread :
The thread this manager belongs to
addmember: UserResolvable | '@me'reason?: string) : Promise<Snowflake> (
member: UserResolvable | '@me'
reason?: string
Adds a member to the thread.
Overload 1
Overload 2
Overload 3
Overload 4
fetchoptions: ThreadMember<true> | ((FetchThreadMemberOptions & { withMember: true }) | { member: ThreadMember<true> })) : Promise<ThreadMember<true>> (
options: ThreadMember<true> | ((FetchThreadMemberOptions & { withMember: true }) | { member: ThreadMember<true> })
Fetches thread member(s) from Discord. This method requires the GatewayIntentBits privileged gateway intent.
fetchMeoptions?: BaseFetchOptions) : Promise<ThreadMember> (
options?: BaseFetchOptions
Fetches the client user as a ThreadMember of the thread.
resolvemember: ThreadMemberResolvable) : GuildMember (
member: ThreadMemberResolvable
Resolves a ThreadMemberResolvable to a ThreadMember object.
resolveIdmember: ThreadMemberResolvable) : Snowflake (
member: ThreadMemberResolvable
Resolves a ThreadMemberResolvable to a ThreadMember id string.
valueOfCollection<Key, Holds> () :
Inherited from: DataManager