DiSky DiSky v5.0.0-b1

Thread Channel

type

A thread inside a text or forum channel.

12 / 12

Properties

6
propertyMembersince 5.0.0-a1
[the] discord owner of %threadchannel%
%threadchannel%'s discord owner

The member who created this thread, or null if they are no longer in the guild.

Helpful?
propertyNumbersince 5.0.0-a1
[the] message count of %threadchannel%
%threadchannel%'s message count

The number of messages currently tracked in this thread.

Helpful?
propertyBooleansince 5.0.0-a1
[the] archived of %threadchannel%
%threadchannel%'s archived

Whether this thread is archived.

Helpful?
propertyBooleansince 5.0.0-a1
[the] locked of %threadchannel%
%threadchannel%'s locked

Whether this thread is locked.

Helpful?
propertylist of Memberawait since 5.0.0-a1
[the] thread members of %threadchannel%
%threadchannel%'s thread members

The members who joined this thread. Fetched online, so it requires 'await'.

The 'guild members' intent is required.

mentioned inCache and await
Helpful?
propertyMessageawait since 5.0.0-a1
[the] start message of %threadchannel%
%threadchannel%'s start message

The message this thread started from. Fetched online, so it requires 'await'.

For a forum post, this is the post's first message.

mentioned inCache and await
Helpful?

Getters

1
getterThreadchannelsince 5.0.0-a1
thread channel with id %string% [(with|using) [the] [bot] %-bot%]

The thread channel with the given id, from cache.

Helpful?

Effects

4
effectasync since 5.0.0-a1
archive [the] [thread] %threadchannel% [(due to|because of|with [the] reason) %-string%]

Archives a thread, closing it to new messages until someone posts again.

Helpful?
effectasync since 5.0.0-a1
lock [the] [thread] %threadchannel% [(due to|because of|with [the] reason) %-string%]

Locks a thread: only moderators can unarchive it afterwards.

Helpful?
effectasync since 5.0.0-a1
unarchive [the] [thread] %threadchannel% [(due to|because of|with [the] reason) %-string%]

Re-opens an archived thread.

Helpful?
effectasync since 5.0.0-a1
unlock [the] [thread] %threadchannel% [(due to|because of|with [the] reason) %-string%]

Unlocks a locked thread.

Helpful?

Conditions

1
conditionsince 5.0.0-a1
%threadchannels% (is|are) public

Whether this thread is a public one (anyone who can see the parent channel can join it).

Helpful?

Returned by

8

Syntaxes elsewhere in DiSky that return Thread Channel.

Documentation

2

Hand-written guides that cover Thread Channel.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.