---
title: /autonuke settings
description: Automatically purge messages in channels on a schedule.
---
## Overview

`/autonuke settings` opens an interactive dashboard for keeping channels trimmed to a maximum number of messages, purging older messages on a recurring schedule. Useful for bot-output or spam channels that don't need message history.

## Required Permissions

- **Administrator**

## Subcommands

### settings

No options. Running the command opens a dashboard with three pages: Overview, Channels, and Whitelist.

## Dashboard settings

The dashboard is split into three pages: Overview, Channels, and Whitelist.

### Overview and Channels pages

- **Add a channel**: pick a text channel, then enter the number of messages to keep (0 deletes all messages) and how often to purge, for example `1h` or `30m`. The interval must be at least 10 seconds.
- **Edit a channel**: change the message limit or interval for a channel that's already configured.
- **Remove a channel**: stop auto-purging a channel. If only one channel is configured, it's removed directly; otherwise select it first.

### Whitelist page

With a channel selected, add users or roles whose messages are skipped during that channel's purge.

### Reset all

Removes every auto-purge configuration for the server, after a confirmation step.

## Behavior

- A channel only auto-purges once you add it. There's no single on/off switch, each channel's configuration is independent.
- The purge runs on the interval you set for each channel, deleting the oldest messages down to the configured limit.