Skip to content
Moderation setGuildSafetyAlertsChannel

$setGuildSafetyAlertsChannel — Sets the safety alerts channel for a guild, returns bool.

Sets the safety alerts channel for a guild, returns bool.

Syntax

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

Parameters

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

Return Value

  • Boolean.

Usage

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

Example

$sendMessage[$setGuildSafetyAlertsChannel[10;31]]

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.