Skip to main content

Class: PublicThread

Hierarchy​

Constructors​

constructor​

• new PublicThread(client, data)

Parameters​

NameType
clientClient
dataAPIThreadChannel

Inherited from​

Thread.constructor

Defined in​

packages/libcord/src/structures/channels/Thread.ts:28

Properties​

archived​

• Readonly archived: undefined | boolean

Inherited from​

Thread.archived

Defined in​

packages/libcord/src/structures/channels/Thread.ts:16


channel​

• Readonly channel: undefined | Promise<undefined | TextChannel | NewsChannel>

Inherited from​

Thread.channel

Defined in​

packages/libcord/src/structures/channels/Thread.ts:24


client​

• Readonly client: Client

Inherited from​

Thread.client

Defined in​

packages/libcord/src/structures/Base.ts:8


data​

• Readonly data: APIThreadChannel

Inherited from​

Thread.data

Defined in​

packages/libcord/src/structures/channels/Thread.ts:27


id​

• Readonly id: string

Inherited from​

Thread.id

Defined in​

packages/libcord/src/structures/channels/Thread.ts:15


locked​

• Readonly locked: undefined | boolean

Inherited from​

Thread.locked

Defined in​

packages/libcord/src/structures/channels/Thread.ts:17


member_count​

• Readonly member_count: undefined | number

Inherited from​

Thread.member_count

Defined in​

packages/libcord/src/structures/channels/Thread.ts:23


rate_limit​

• Readonly rate_limit: undefined | number

Inherited from​

Thread.rate_limit

Defined in​

packages/libcord/src/structures/channels/Thread.ts:22


type​

• Readonly type: GuildNewsThread | GuildPublicThread | GuildPrivateThread

Inherited from​

Thread.type

Defined in​

packages/libcord/src/structures/channels/Thread.ts:18

Methods​

delete​

▸ delete(): Promise<default>

Returns​

Promise<default>

Inherited from​

Thread.delete

Defined in​

packages/libcord/src/structures/channels/Thread.ts:42


send​

▸ send(content): Promise<Message>

Parameters​

NameType
contentstring | Embed | MessageOptions

Returns​

Promise<Message>

Inherited from​

Thread.send

Defined in​

packages/libcord/src/structures/channels/Thread.ts:45

▸ send(msg): Promise<Message>

Parameters​

NameType
msgstring | Embed | MessageOptions

Returns​

Promise<Message>

Inherited from​

Thread.send

Defined in​

packages/libcord/src/structures/channels/Thread.ts:46