---
title: "Save Automod"
method: PUT
path: "/dashboard/bot/settings/{guild_id}/automod/"
tags: ["dashboard"]
---

# Save Automod

`PUT /dashboard/bot/settings/{guild_id}/automod/`

Put automod settings for guild

## Path parameters

- `guild_id` integer, required

## Request body

- AutomodSettings
  - `filter` Filter
    - `mode` string
    - `action` string[]
    - `duration` integer
    - `duration_type` string
    - `whitelist_words` string[]
    - `blacklist_words` string[]
    - `categories` string[]
    - `severity` string
    - `scan_images` boolean
  - `link` Link
    - `mode` string
    - `action` string[]
    - `list` string[]
    - `duration` integer
    - `duration_type` string
    - `amount` integer
    - `in` integer
  - `spam` Spam
    - `action` string[]
    - `duration` integer
    - `duration_type` string
    - `amount` integer
    - `in` integer
  - `repeat` Repeat
    - `action` string[]
    - `duration` integer
    - `duration_type` string
    - `amount` integer
    - `in` integer
  - `attachment` Attachment
    - `action` string[]
    - `duration` integer
    - `duration_type` string
    - `amount` integer
    - `in` integer
  - `mention` Mention
    - `action` string[]
    - `duration` integer
    - `duration_type` string
    - `amount` integer
    - `in` integer
  - `log_channel` string
  - `whitelisted_roles` string[]
  - `whitelisted_channels` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/monni/apis/fastapi.md) · [All operations](https://skmtc.dev/monni/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/monni/fastapi/revisions/0321cc5200a6/schema)
