Skip to content
Moderation setDefaultForumLayout

$setDefaultForumLayout — Sets a forum’s default layout of posts.

Sets a forum's default layout of posts.

Syntax

$setDefaultForumLayout[channelID;layout;(reason)]

Parameters

  • channelID (id, required) — The forum to modify
  • layout (text, required) — The new default layout
  • reason (text, optional) — The reason for modifying default layout

Return Value

  • Boolean.

Usage

$setDefaultForumLayout[channelID;layout;(reason)] → result

Example

$sendMessage[$setDefaultForumLayout[36;1]]

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.