Skip to content
Moderation setGuildDefaultMessageNotifications

$setGuildDefaultMessageNotifications — Sets the default message notifications setting for a guild, returns bool.

Sets the default message notifications setting for a guild, returns bool.

Syntax

$setGuildDefaultMessageNotifications[guildID;(setting);(reason)]

Parameters

  • guildID (id, required) — The guild to set default message notifications for
  • setting (text, optional) — The new default message notifications setting
  • reason (text, optional) — The reason for this action

Return Value

  • Boolean.

Usage

$setGuildDefaultMessageNotifications[guildID;(setting);(reason)] → result

Example

$sendMessage[$setGuildDefaultMessageNotifications[10;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.