Skip to content
Moderation setGuildExplicitContentFilter

$setGuildExplicitContentFilter — Sets the explicit content filter for a guild, returns bool.

Sets the explicit content filter for a guild, returns bool.

Syntax

$setGuildExplicitContentFilter[guildID;(filter);(reason)]

Parameters

  • guildID (id, required) — The guild to set explicit content filter for
  • filter (text, optional) — The new explicit content filter
  • reason (text, optional) — The reason for this action

Return Value

  • Boolean.

Usage

$setGuildExplicitContentFilter[guildID;(filter);(reason)] → result

Example

$sendMessage[$setGuildExplicitContentFilter[10;2]]

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.