discord_apply_automod_baseline
Create baseline AutoMod rules to block invite links, scam keywords, and mention spam, with timeouts for repeat offenders. Previews by default; set confirm:true to apply and skip existing rules.
Instructions
Create a sensible baseline of AutoMod rules for a community server in one call: block Discord invite links, block common scam/phishing keywords, block mention spam, and time out repeat offenders. PREVIEWS BY DEFAULT: returns the rules that would be created without creating them; re-call with confirm:true to apply. Rules that already exist by name are skipped, so re-running is safe. Requires Manage Server and the AutoModeration feature (Community).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set true to actually create the rules. Default false returns a preview. | |
| guild_id | Yes | Discord server (guild) ID (snowflake). | |
| alert_channel_id | No | Channel for the 'send_alert_message' action. Omit for block-only rules. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| failed | Yes | ||
| created | Yes | ||
| planned | Yes | ||
| skipped | Yes |