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

# DM Disabler

> **DM Disabler** helps prevent unwanted direct messages by permanently disabling DMs server-wide. Once invited, it quietly handles DM permissions behind the scenes — no setup required.

> **Invite Link**: [Click here to invite DM Disabler](https://discord.com/oauth2/authorize?client_id=1223348495814230066)

> Even with DMs disabled, **friends can still message each other**, **moderators can message members**, and **your bots and apps will still function normally**.

## What Permissions Define a Moderator?

<Accordion title="What permissions are required for a user to be considered a moderator?">
  According to Discord’s documentation, a user is considered a moderator if they have **any** of the following permissions:

  * Administrator
  * Kick Members
  * Timeout Members
  * Ban Members
  * Manage Server
</Accordion>

## How to Invite & Use DM Disabler

<Frame caption="How to invite DM Disabler and use slash commands">
  <iframe src="https://www.loom.com/embed/918c22064800413a8307c71fab41d795?sid=752cd995-44ab-4dfa-baa6-7e717f87a940" allowfullscreen="" scrolling="no" allow="encrypted-media *;" width="100%" height="420" />
</Frame>

[Discord App link](https://discord.com/discovery/applications/1223348495814230066)

## Slash Commands

| Command                         | Description                                            |
| ------------------------------- | ------------------------------------------------------ |
| `/help`                         | Shows all available commands                           |
| `/disable-dms <true/false>`     | Enable or disable DMs server-wide (auto-renewed daily) |
| `/disable-invites <true/false>` | Enable or disable server invites (auto-renewed daily)  |
| `/ping`                         | Check if the bot is online                             |

## How Do I Stop Getting Discord Activity Alerts?

Sometimes, you’ll receive **Activity Alerts** from Discord when DMs are disabled or security measures are active. Here’s how to manage them:

<Frame caption="Discord Activity Alerts">
  <img className="block dark:hidden mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/notification-light.png" style={{ width:"80%" }} />

  <img className="hidden dark:block mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/notification.png" style={{ width:"80%" }} />
</Frame>

**Go to:**\
Server Settings → Safety Setup → Raid Protection and CAPTCHA → Edit

There, you can choose:

* A specific channel to receive alerts
* Or disable alerts entirely

<Frame caption="Safety Setup">
  <img className="block dark:hidden mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/safety-setup-light.png" style={{ width:"80%" }} />

  <img className="hidden dark:block mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/safety-setup.png" style={{ width:"80%" }} />
</Frame>

<Frame caption="Activity Alerts">
  <img className="block dark:hidden mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/antiraid-light.png" style={{ width:"80%" }} />

  <img className="hidden dark:block mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/antiraid.png" style={{ width:"80%" }} />
</Frame>

## How Do I Know DMs Are Actually Disabled?

**Admins and moderators will see a banner** at the top of their Discord client confirming that DMs are disabled.

<Frame caption="The banner also shows an expiration date, which is automatically extended every day to maintain DM restrictions.">
  <img className="block dark:hidden mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/banner-light.png" style={{ width:"90%" }} />

  <img className="hidden dark:block mx-auto" src="https://mintlify.s3.us-west-1.amazonaws.com/hashbot/images/banner.png" style={{ width:"90%" }} />
</Frame>
