Create Thread (Effect) — DiSky

Addon: DiSky · Category: Effect · Since: 4.0.0

Syntax

(make|create) [the] [new] [private] thread (named|with name) %string% in [the] [channel] %channel/textchannel% [(with|using) [the] [message] [as reference] %-message%] [(with|using) [the] [bot] %-bot%] [and store (it|the thread) in %-~objects%]

Description

Create a new thread in a text channel with a base name. The bot used in that effect will automatically join the thread, so you don't have to make it join yourself. If you create a private thread, then you cannot specify a message. Else, the Thread will be created based on the specified message. Creating private thread need the guild to be level 2 or more, else it'll throw an exception.

Examples

create thread named "Discussion" in event-channel and store it in {_thread}
create private thread named "Staff Room" in channel with id "000"

View source