|Docs

/ban

Overview

/ban permanently bans a user from the server. Optionally delete their recent messages.

Required Permissions

  • Ban Members

Options

OptionRequiredDescription
userYesUser to ban
reasonNoReason for the ban
deletemessagesNoDelete messages from last 0–7 days (default: 0)

Behavior

  • The banned user receives a DM with the reason and an Appeal button (if appeals are enabled).
  • Bots cannot be banned.
  • A case is created and, if configured, logged to the log channel.