|Docs

/warn

Overview

/warn records a warning for a user. When they reach the maximum warnings (set in /warnings settings), they are automatically muted, kicked, or banned.

Required Permissions

  • Moderate Members

Options

OptionRequiredDescription
userYesUser to warn
reasonNoReason for the warning
delete_recentNoNumber of the user's recent messages to delete from the channel (0–100)
dm_userNoSend the user a DM with the reason (default: on)
additional_usersNoExtra users to warn in the same command, space or comma-separated
proofNoAttachment to attach as evidence on the case

Behavior

  • Below the limit: the user is DMed about the warning (if dm_user is on).
  • At the limit: the configured punishment (mute, kick, or ban) is applied, the user is DMed, and their warnings are cleared.
  • Bots cannot be warned.
  • Warning multiple users at once reports which succeeded and which were skipped, with a reason for each skip.
  • Configure max warnings, punishment, and mute duration with /warnings settings.