Skip to content
Moderation setDefaultSortOrder

$setDefaultSortOrder — Sets a forum’s default sort order of posts.

Sets a forum's default sort order of posts.

Syntax

$setDefaultSortOrder[channelID;(layout);(reason)]

Parameters

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

Return Value

  • Boolean.

Usage

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

Example

$sendMessage[$setDefaultSortOrder[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.