Skip to main content
By default, this command requires the Manage Server and Manage Messages permissions. This command requires the bot to have the Manage Messages permission.
Bulk-delete messages from the current channel.

Syntax

You must specify count, first, and last in one of the following configurations:
  • <count> — select the last <count> messages
  • <first> — select messages starting from <first> and ending at the most recent message
  • <count> <first> — select up to <count> messages starting from <first>
  • <count> <last> — select up to <count> messages ending with <last> as the most recent
  • <first> <last> — select messages between <first> and <last> (inclusive)
Last modified on February 4, 2026