Class: Thread
Hierarchy
↳
Thread↳↳
NewsThread↳↳
PublicThread
Constructors
constructor
• new Thread(client, data)
Parameters
| Name | Type |
|---|---|
client | Client |
data | APIThreadChannel |
Overrides
Defined in
packages/libcord/src/structures/channels/Thread.ts:28
Properties
archived
• Readonly archived: undefined | boolean
Defined in
packages/libcord/src/structures/channels/Thread.ts:16
channel
• Readonly channel: undefined | Promise<undefined | TextChannel | NewsChannel>
Defined in
packages/libcord/src/structures/channels/Thread.ts:24
client
• Readonly client: Client
Inherited from
Defined in
packages/libcord/src/structures/Base.ts:8
data
• Readonly data: APIThreadChannel
Defined in
packages/libcord/src/structures/channels/Thread.ts:27
id
• Readonly id: string
Defined in
packages/libcord/src/structures/channels/Thread.ts:15
locked
• Readonly locked: undefined | boolean
Defined in
packages/libcord/src/structures/channels/Thread.ts:17
member_count
• Readonly member_count: undefined | number
Defined in
packages/libcord/src/structures/channels/Thread.ts:23
rate_limit
• Readonly rate_limit: undefined | number
Defined in
packages/libcord/src/structures/channels/Thread.ts:22
type
• Readonly type: GuildNewsThread | GuildPublicThread | GuildPrivateThread
Defined in
packages/libcord/src/structures/channels/Thread.ts:18
Methods
delete
▸ delete(): Promise<default>
Returns
Promise<default>
Defined in
packages/libcord/src/structures/channels/Thread.ts:42
send
▸ send(content): Promise<Message>
Parameters
| Name | Type |
|---|---|
content | string | Embed | MessageOptions |
Returns
Promise<Message>
Defined in
packages/libcord/src/structures/channels/Thread.ts:45
▸ send(msg): Promise<Message>
Parameters
| Name | Type |
|---|---|
msg | string | Embed | MessageOptions |
Returns
Promise<Message>