Skip to content
Entity Info guildAutomodRules

$guildAutomodRules — Returns all automod rules of a guild.

Returns all automod rules of a guild.

Syntax

$guildAutomodRules[guildID;(property);(separator)]

Parameters

  • guildID (id, required) — The guild to get automod rules from
  • property (text, optional) — The property of each automod rule to return
  • separator (text, optional) — The separator to use for each property

Return Value

  • Json,Unknown[].

Usage

$guildAutomodRules[guildID;(property);(separator)] → result

Example

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