Moderation
setDefaultThreadArchiveDuration
$setDefaultThreadArchiveDuration — Sets a forum’s default auto archive duration of posts.
Sets a forum's default auto archive duration of posts.
Syntax
$setDefaultThreadArchiveDuration[channelID;duration;(reason)]
Parameters
- channelID (id, required) — The forum to modify
- duration (text, required) — The new duration of auto archive
- reason (text, optional) — The reason for modifying archive duration
Return Value
- Boolean.
Usage
$setDefaultThreadArchiveDuration[channelID;duration;(reason)] → result
Example
$sendMessage[$setDefaultThreadArchiveDuration[36;1440]]
Try it
Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.