Entity Info
getAutomodRuleActions
$getAutomodRuleActions — Returns the actions of an automod rule from a guild
Returns the actions of an automod rule from a guild
Syntax
$getAutomodRuleActions[guildID;ruleID;(property);(separator)]
Parameters
- guildID (id, required) — The guild to get automod rule from
- ruleID (id, required) — The automod rule to get its actions
- property (text, optional) — The property of each action to return
- separator (text, optional) — The separator to use for every property
Return Value
- Json.
Usage
$getAutomodRuleActions[guildID;ruleID;(property);(separator)] → result
Example
$sendMessage[$getAutomodRuleActions[10;500;type]]
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.