Skip to content
Moderation modifyForum

$modifyForum

Changes several settings of a forum channel in one call. Bot Creator function, not in the official BDFD wiki.

Syntax

$modifyForum[channelID;(name);(topic);(layout);(sortOrder);(slowmode);(archiveMinutes);(requireTag);(reason)]

Parameters

Parameter Description
channelID Required. The ID of the channel.
name Optional. The name.
topic Optional. The guidelines of the forum.
layout Optional. notset, list or gallery.
sortOrder Optional. latestActivity or creationDate.
slowmode Optional. Seconds between two posts of a member in a post, 0 to 21600.
archiveMinutes Optional. 60, 1440, 4320 or 10080.
requireTag Optional. yes: a post needs a tag.
reason Optional. Reason recorded in the server audit log (512 characters at most).

Return Value

  • true when something was changed.

Example

$modifyForum[123456789;;;gallery;creationDate;10;1440;yes]

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.