Skip to content

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

nullable

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

nullable · private

member: GuildMember

The guild member associated with this thread member. Source

guildMember

readonly · nullable

guildMember: GuildMember

The guild member associated with this thread member Source

joinedAt

readonly · nullable

joinedAt: Date

The last time this member joined the thread Source

user

readonly · nullable

user: User

The user associated with this thread member Source

manageable

readonly

manageable: boolean

Whether the client user can manage this thread member Source

client

readonly

client: Client

The client that instantiated this Source

Methods

remove

async

async remove(reason?: string): ThreadMember

Removes this member from the thread. Parameters

NameTypeDescription
reason?stringReason for removing the member

Returns: ThreadMemberSource

Unofficial software. Not affiliated with or supported by Discord.