> ## Documentation Index
> Fetch the complete documentation index at: https://docs.scrumpbot.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Automod

> Configure Discord native automod using commands

<Note>Requires **Manage Server** permission</Note>

<video autoPlay muted loop playsInline className="w-full aspect-video" src="https://mintcdn.com/scrump/jwHzBl1Eamz5-LJy/videos/1-automod-full_v1_720p_30fps.mp4?fit=max&auto=format&n=jwHzBl1Eamz5-LJy&q=85&s=8c3bcf89f00d978990572894cd71150e" data-path="videos/1-automod-full_v1_720p_30fps.mp4" />

## Creating Automod Rules

<Steps>
  <Step title="Create automod rule">
    Use `/automod rule create` to create a Discord automod rule
  </Step>

  <Step title="Add blocked words to the rule">
    Use `/automod blocked-words add` to add blocked words to your created rule
  </Step>

  <Step title="Set actions to the rule">
    * Use `/automod rule alert-channel-set` to set a rule's alert channel
    * Use `/automod rule timout-set` to set a timour duration
    * Use `/automod rule block-mode-enable` to block users from sending messages that break the rule
  </Step>

  <Step title="Add allowed words, roles and channels (optional)">
    * Use `/automod allowed-words add` to add an allowed word to an automod rule
    * Use `/automod allowed-roles add` to add an allowed role to an automod rule
    * Use `/automod allowed-channels add` to add an allowed channel to an automod rule
  </Step>
</Steps>
