ThreadMember
classe · Source
Represents a Member for a Thread.
Extends: Base
Properties
thread
thread: ThreadChannel
The thread that this member is a part of Source
joinedTimestamp
joinedTimestamp: number
The timestamp the member last joined the thread at Source
id
id: Snowflake
The id of the thread member Source
flags
flags: ThreadMemberFlags
The flags for this thread member Source
member
member: GuildMember
The guild member associated with this thread member. Source
guildMember
guildMember: GuildMember
The guild member associated with this thread member Source
joinedAt
joinedAt: Date
The last time this member joined the thread Source
user
user: User
The user associated with this thread member Source
manageable
manageable: boolean
Whether the client user can manage this thread member Source
client
client: Client
The client that instantiated this Source
Methods
remove
async remove(reason?: string): ThreadMember
Removes this member from the thread. Parameters
| Name | Type | Description |
|---|---|---|
reason? | string | Reason for removing the member |
Returns: ThreadMemberSource