---
title: /raidmode
description: Emergency raid mode that blocks or punishes all new members joining.
---
## Overview

`/raidmode` is for emergencies. When enabled, every new member who joins is automatically kicked, banned, or muted until you disable it.

## Required Permissions

- **Administrator**

## Options

| Option | Required | Description |
|--------|----------|-------------|
| `action` | Yes | **Enable** or **Disable** |
| `punishment` | No | **Kick** (default), **Ban**, or **Mute** for new members |
| `enable_after` | No | Automatically turn raid mode off after a duration, e.g. `10m`, `1h` |
| `dm_members` | No | DM punished members with a reason |

## Behavior

- **Enable**: Raid mode activates immediately. New members are punished on join.
- **Disable**: Raid mode turns off. New members can join normally again.
- Without `enable_after`, raid mode stays on until you disable it manually.
- Unlike `/antiraid settings`, this is a manual, immediate switch rather than automatic threshold-based detection.