Skip to content
Moderation setGuildRulesChannel

$setGuildRulesChannel — Sets the rules channel for a guild, returns bool.

Sets the rules channel for a guild, returns bool.

Syntax

$setGuildRulesChannel[guildID;(channelID);(reason)]

Parameters

  • guildID (id, required) — The guild to set rules channel for
  • channelID (id, optional) — The new rules channel
  • reason (text, optional) — The reason for this action

Return Value

  • Boolean.

Usage

$setGuildRulesChannel[guildID;(channelID);(reason)] → result

Example

$sendMessage[$setGuildRulesChannel[10;30]]

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.