Rate Limit Your Discord Bot
Per User & Server
Drop-in middleware SDK + analytics dashboard. Enforce usage quotas, stop abuse, and control costs — without rebuilding your bot.
Start for $15 / moNo credit card required for 7-day trial. Cancel anytime.
Redis-backed Tracking
Sub-millisecond quota checks that scale to millions of commands.
Per-User & Per-Guild
Granular limits by user ID, guild ID, or command type.
Live Analytics
Dashboard shows top users, blocked requests, and usage trends.
Simple Pricing
Pro
$15
per month
- ✓ Unlimited bots
- ✓ Up to 10M commands / mo
- ✓ Per-user & per-guild limits
- ✓ Redis quota middleware SDK
- ✓ Analytics dashboard
- ✓ Webhook alerts on quota breach
- ✓ Email support
FAQ
How does the middleware SDK work?
Install our npm package, initialize it with your API key and Redis URL, then wrap your command handlers. Each call checks and increments a quota counter in Redis before your handler runs.
What happens when a user hits their limit?
The middleware returns a configurable error payload to your bot. You can customize the message, cooldown window, and whether to silently drop or notify the user.
Do I need to manage my own Redis instance?
No. BotGuard provides a managed Redis layer included in the subscription. You can also bring your own Redis URL if you prefer full control.