Skip to content
Entity Info getAutomodRule

$getAutomodRule — Returns an automod rule of a guild

Returns an automod rule of a guild

Syntax

$getAutomodRule[guildID;ruleID;(property);(separator)]

Parameters

  • guildID (id, required) — The guild to get automod rule from
  • ruleID (id, required) — The automod rule to get
  • property (text, optional) — The property of the automod rule to return
  • separator (text, optional) — The separator to use in case of array

Return Value

  • Json.

Usage

$getAutomodRule[guildID;ruleID;(property);(separator)] → result

Example

$sendMessage[$getAutomodRule[10;500;name]]

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.