Skip to main content
Delete user messages scans every channel the bot can see and deletes recent messages from a single target user. Useful for cleaning up after a raid, a spam incident, or when a former member asks for their content to be removed. Open Dashboard → Delete User Messages.

Running a cleanup

1

Enter the target user ID

Paste the Discord user ID of the member whose messages you want to delete. Right-click the member in Discord and choose Copy User ID (Developer Mode must be enabled in your Discord settings).
2

Pick retrieve and delete counts

Retrieve count — how many recent messages per channel the bot scans. Options: 20, 50, 100. Delete count — maximum messages to delete per channel. Options: 1 through 20.
3

Click Start Cleanup

The bot walks every accessible channel, collects matches, and deletes them. Progress is shown under the button, and a per-channel result log is printed below.
You can also trigger a cleanup from Discord with /user_clean_messages @user.
Works even if the target has already left the server. Pick them from the user picker (or paste their ID) and the bot will still delete their leftover messages — it just needs Manage Messages in each channel.

Settings

toggle
Master switch. If off, /user_clean_messages is disabled and the dashboard cleanup button is hidden.
role list
Only members with at least one of these roles can run /user_clean_messages. Leave empty to allow everyone. Guild owners and Admins are always immune.
role list
Members with any of these roles are always blocked from running the command, even if they also have an allowed role. Guild owners and Admins are always immune.

What gets deleted

  • Messages from the target user only. Other users’ messages, including replies to the target, are kept.
  • Up to the configured delete count per channel. If a channel has 30 matching messages and delete count is 5, only the 5 most recent are removed.
  • Messages the bot has permission to delete. Channels where the bot lacks Manage Messages are skipped and reported in the log.
Deletion is irreversible. Double-check the user ID before clicking Start Cleanup — there is no dry-run mode.