Skip to content
Events newAutomodRule

$newAutomodRule — State of the AutoMod rule of a rule event. Properties: id, name, authorID, enabled, eventType, triggerType, exemptRoles, exemptChannels, actions, keywordFilter, regexPatterns, presets, allowList, mentionTotalLimit, mentionRaidProtectionEnabled.

State of the AutoMod rule of a rule event. Properties: id, name, authorID, enabled, eventType, triggerType, exemptRoles, exemptChannels, actions…

Syntax

$newAutomodRule[property;(separator)]

Parameters

  • property (String, required) — Property to read
  • separator (String, optional) — Separator for lists

Return Value

  • String.

Usage

$newAutomodRule[property;separator] → result

Example

$sendMessage[$newAutomodRule[property;separator]]

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.