Skip to content
Moderation setChannelArchiveDuration

$setChannelArchiveDuration — Modifies a channel’s archive duration.

Modifies a channel's archive duration.

Syntax

$setChannelArchiveDuration[channelID;duration;(reason)]

Parameters

  • channelID (id, required) — The channel to modify
  • duration (text, required) — The new duration of archive
  • reason (text, optional) — The reason for modifying archive duration

Return Value

  • Boolean.

Usage

$setChannelArchiveDuration[channelID;duration;(reason)] → result

Example

$sendMessage[$setChannelArchiveDuration[35;60]]

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.