Noxyr Noxyr
Noxyr Noxyr
Features Custom Bot Docs
Resources
Resources CommandsEvery slash command, searchable
Learn TutorialSet the bot up step by step ArticlesBot comparisons and how-tos CompareNoxyr next to other bots
Extras ToolsTimestamps, fonts and welcome text MusicThe music player, up close Noxyr RushPlay to win custom bot time
Site StatusUptime over the last 30 days ChangelogWhat shipped lately Noxyr MCPRun your server from Claude, ChatGPT, Cursor and more
Community Web storesLive stores run with Noxyr LeaderboardFeatured servers using Noxyr
Company
Company About usWho Noxyr is for and why it exists
Company PartnersThe host and bots we work with TeamThe people and AI agents behind Noxyr DonorsThe people who keep Noxyr free
Get in touch Contact usQuestions, ideas or partnerships Become a partnerGet your bot or host listed ReviewsWhat server owners say on Top.gg
Support
Language
Change theme
Vote Donors
EN

Choose a language

English العربية 中文 Čeština Français Deutsch हिन्दी Bahasa Indonesia Italiano 日本語 한국어 Polski Português Español Türkçe Tiếng Việt
Bright themes
Dark themes
Add Bot Login with DiscordLog in
Documentation / Clearing messages

All topics

  • Getting started
  • Tickets
  • Catalog & products
  • Invoices & sales
  • Giveaways & polls
  • Security
  • Verification & welcome
  • Reviews
  • Modules
  • Custom bots
  • Music
  • AI chat & ticket AI
  • Auto-responders & FAQ
  • Ticket transcripts
  • Dashboard & access
  • Server API
  • Commands
  • AI-written message check
  • Anti-nuke in depth
  • Anti-spam in depth
  • Auto reactions
  • Auto-Pay
  • Buttons & menus
  • Posting and refreshing the catalog
  • Categories and products
  • Cart and checkout customization
  • Checkout & sales
  • Clearing messages
  • Command palette (Ctrl-K)
  • Command visibility
  • Copy Settings reference
  • Currencies and exchange rates
  • Custom bot branding
  • Custom bot hosting
  • Custom commands
  • Adding emojis in bulk
  • Branding & embed customization
  • What the bot stores
  • Embed builder
  • Giveaway options, requirements and rerolls
  • Templates on settings pages
  • Help Guide and /help
  • Invoice branding
  • /invoice create reference
  • Invoice design
  • Dashboard languages
  • Server leaderboard
  • Leave messages
  • Invite and self-bot filters
  • Live Activity
  • Website live chat
  • Server management
  • Your Tickets page
  • The Overview page
  • Your own AI keys
  • Permissions the bot needs
  • Phone alerts
  • Polls
  • Prefix commands
  • Quick Create
  • Quick Setup
  • Referrals
  • Ticket reminders
  • Bot Resources
  • Review settings and moderation
  • Sales Boost
  • Sales reports and top buyers
  • Schedules
  • Server logs
  • The /setup command
  • Staff applications
  • Stats banner
  • Status, ping and resource commands
  • Sticky messages
  • Suggestions
  • Terms of service (TOS)
  • Ticket analytics
  • Auto-closing inactive tickets
  • Ticket forms
  • Button panels and V2 dropdown panels
  • Ticket ratings
  • Ticket settings reference
  • Ticket staff tools
  • Bot offline or not responding
  • Slash commands not showing
  • Store problems
  • Ticket problems
  • Unsaved changes and undo
  • Top.gg votes
  • Vouchers

Clearing messages

Bulk delete recent messages with /clear, filtered by user, bots, embeds, links or images.

Usage

A burst of repeated messages fills a rate meter until it trips and the sender is timed out. rate limit TRIP Timed out

/clear amount:25 removes the last 25 messages in the current channel. Add filters to delete only some of them: the bot looks at the last N messages and deletes the ones that match.

amount
Required, 1 to 100. How many recent messages to look at.
user
Only messages from this member.
bots
Only messages sent by bots.
embeds
Only messages that contain an embed.
link
Only messages containing a link.
images
Only messages with an image attachment.

The 14-day limit

Discord's bulk delete API refuses messages older than 14 days. The bot filters those out silently rather than failing the whole command, so "No messages found matching your filters" can mean the matching messages are simply too old. Older messages have to be deleted one by one in Discord.

Permissions

The command is admin-only on the bot side, and the bot itself needs Manage Messages in the channel. If the bot role is denied that permission by a channel override, /clear fails even for admins.

Deleted messages are gone; there is no undo. Use the user filter to avoid taking out staff replies with the spam.

PreviousCheckout & sales NextCommand palette (Ctrl-K)
Noxyr

Built for Discord communities.

Product

  • Shop Bot
  • Invoice Bot
  • Ticket Bot
  • Giveaway Bot
  • Security Bot
  • Music Bot

Resources

  • Features
  • Docs
  • Articles
  • Command List
  • Compare
  • Free Tools

Company

  • About us
  • Partners
  • Team
  • Donors
  • Become a partner
  • Contact us

Support

  • Support Center
  • Support server
  • Vote on Top.gg
  • Status

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy

© 2026 Noxyr. All rights reserved.

Something went wrong

An unexpected error happened.

Report it
esc

Confirm action

Are you sure?