Skip to content
Events oldAutomodRule

$oldAutomodRule — Previous 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.

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

Syntax

$oldAutomodRule[property;(separator)]

Parameters

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

Return Value

  • String.

Usage

$oldAutomodRule[property;separator] → result

Example

$sendMessage[$oldAutomodRule[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.