Skip to main content

Limits Reference

This page documents all limits and constraints in RoleLogic. Understanding these helps you plan your automation effectively and avoid unexpected issues.

Quick Reference

Here's a summary of the most important limits:

CategoryLimitValue
Rules per server (free)Default2 rules
Conditions per ruleMaximum10 (1 primary + 9 AND)
Actions per ruleMaximum2 (add + remove)
Roles per actionMaximum250 roles
Roles per conditionMaximum250 roles
Cross-server syncsDefault5 linked servers
Cascade passesSafety limit100 passes
API rate limitRequests20 per 30 seconds

Rule Limits

Conditions Per Rule

LimitValue
Primary condition1 (required)
Additional AND conditionsUp to 9
Total conditions per ruleUp to 10

You can combine up to 10 conditions with AND logic in a single rule. This allows for precise targeting of specific member role combinations.


Actions Per Rule

LimitValue
Primary action1 (required)
Additional combined actionsUp to 1
Total action types per ruleUp to 2

You can have one "Add Roles" action and one "Remove Roles" action in the same rule using the "Add Combined Action" feature.


Roles Per Condition/Action

LimitValue
Roles per conditionUp to 250
Roles per actionUp to 250

You can select up to 250 roles in each condition or action. This is more than enough for virtually any server setup.


Processing Limits

Rule Evaluation Passes

LimitValue
Maximum evaluation passes100

When rules cascade (one rule triggers another), RoleLogic continues processing until:

  1. No more rules match, OR
  2. 100 passes have been completed

This prevents infinite loops from misconfigured rules. If your rules require more than 100 passes, consider simplifying your rule structure.


Processing Timing

ProcessTiming
Real-time processingTriggered instantly on role changes
Debounce delay10 seconds
Scheduled sync intervalEvery 10 minutes
Rule activation after updateWithin 1 hour

What these mean:

  • Real-time processing: When a member's roles change, RoleLogic evaluates rules immediately
  • Debounce delay: Multiple rapid role changes are batched together (10 seconds) to prevent excessive processing
  • Scheduled sync: A full server sync runs every 10 minutes to catch any missed changes
  • Rule activation: New or updated rules are fully active within 1 hour of saving

Rate Limiting

LimitValue
API requests20 requests per 30 seconds

RoleLogic respects Discord's API rate limits:

  • Role changes are queued and processed in order
  • During high-activity periods, there may be slight delays
  • The system dynamically adjusts to stay within limits
  • You won't lose any changes—they're queued automatically

Quota Limits

Quotas determine how many rules and features you can use per server.

Free Plan

ResourceLimit
Rules per server2 rules
Cross-server role slots5 linked servers
Webhook watermarkIncluded (shows RoleLogic branding)
All condition types✅ Full access
All action types✅ Full access
Testing sandbox✅ Full access
Activity log✅ Full access

The free plan includes everything you need to get started. It's perfect for:

  • Small servers testing RoleLogic
  • Simple automation setups (verification, basic rewards)
  • Servers with straightforward role hierarchies

Premium Plans

Premium plans expand your capacity:

ResourcePremium Benefit
Rules per server+5 to +78 additional rules (varies by tier)
Cross-server role slotsExpanded capacity
Webhook watermarkRemoved for clean notifications
Priority supportFaster response times

Premium Tiers (additional rules):

  • Tier 1: +10 rules
  • Tier 2: +26 rules
  • Tier 3: +38 rules
  • Tier 4: +56 rules
  • Tier 5: +78 rules

Check the Upgrade page in your dashboard for current pricing and options.


Quota Allocation and Cooldowns

BehaviorDetail
Quota assignmentPer-server allocation
Reassignment cooldown7 days
Unused quotaCan be reassigned after cooldown

About the cooldown: After assigning premium quota to a server, you must wait 7 days before reassigning it to a different server. This prevents abuse and ensures service stability.


Webhook Limits

Message Content

LimitValue
Message length~2,000 characters (Discord limit)
Embed description~4,096 characters (Discord limit)
Total embed size~6,000 characters (Discord limit)

Webhook Delivery

Webhooks are subject to Discord's rate limits:

  • High-frequency events may experience slight delays
  • Messages are queued and sent in order
  • No messages are lost—just potentially delayed

Server and Member Limits

Servers Per Account

There's no strict limit on how many servers you can manage, but:

  • Each server's rules consume quota separately
  • Premium quota must be allocated to specific servers
  • You can manage unlimited servers with the free tier (2 rules each)

Members Per Server

RoleLogic is built to scale with any server size:

Server SizeExpected Performance
Small (< 1,000 members)Instant processing
Medium (1,000-10,000 members)Near-instant processing
Large (10,000-50,000 members)Fast processing
Very large (50,000+ members)Optimized batch processing

For very large servers:

  • Initial sync may take longer when first setting up
  • Real-time processing remains fast for individual changes
  • Batch operations (like rule changes affecting many members) are processed efficiently

Technical Constraints

Role Hierarchy

ConstraintDetail
Manageable rolesOnly roles below RoleLogic's role
Bot's own roleCannot be modified by RoleLogic
Roles above botCannot be assigned or removed

This is a Discord security constraint, not a RoleLogic limitation. Learn how to configure role hierarchy →

Cross-Server Requirements

RequirementDetail
Bot presenceRoleLogic must be in all involved servers
Member presenceMember must exist in both source and target servers
Permissions"Manage Roles" required in each server
Linked server limit5 servers by default

@everyone Role

ConstraintDetail
PresenceEvery member has @everyone
RemovabilityCannot be removed (Discord constraint)
Testing impactAlways include in sandbox tests

Safety Limits

RoleLogic includes automatic safety features to prevent runaway automation.

Reverted Action Detection

If RoleLogic detects that its changes are being repeatedly undone (usually indicating a conflict with another bot or manual intervention), it will automatically stop the rule.

ParameterValue
Detection window1 hour
Action threshold100 reverted actions
ResultRule automatically stopped

When this triggers:

  • The rule status changes to "Stopped"
  • No further processing occurs for that rule
  • You'll see a notification in your dashboard
  • The Activity Log records the event

To resolve:

  1. Identify what's conflicting (another bot, manual changes, etc.)
  2. Fix the underlying conflict
  3. Re-enable the rule from the dashboard

Cascade Limit

LimitValue
Maximum passes100
PurposePrevent infinite loops

If rules trigger each other in a chain, processing stops after 100 passes. This protects your server from accidental infinite loops.


Activity Log Limits

LimitValue
Log entries displayed50 entries per page
Log retentionIndefinite (kept as long as server exists)

Checking Your Limits

In the Dashboard

View your current usage:

  1. Open your server's dashboard
  2. Check the sidebar for quota information
  3. See "Rules: X / Y" showing current usage vs. limit

On the Upgrade Page

View detailed quota information:

  1. Go to the Upgrade section
  2. See your current plan and quota
  3. View all available upgrade options
  4. Track cooldown periods for reassignment

Planning Around Limits

Optimizing Rule Count

Consolidate where possible to maximize your quota:

Instead of 3 separate rules:

Rule 1: If Booster → add VIP
Rule 2: If Premium → add VIP
Rule 3: If Supporter → add VIP

Use 1 combined rule:

Rule 1: If has some of [Booster, Premium, Supporter] → add VIP

More tips:

  • Use "Has Some Roles" with multiple roles instead of multiple rules
  • Use threshold conditions ("At Least N") to consolidate counting logic
  • Let rules cascade for complex multi-step automation

Managing Quota

  • Delete unused or test rules promptly
  • Review rules periodically and remove obsolete ones
  • Consider upgrading if consistently at capacity
  • Use the 7-day cooldown wisely when reallocating quota

Handling Large Servers

For servers with many members:

  • Initial rule setup may take time to process all members
  • Real-time processing remains fast for individual changes
  • Test rules thoroughly before enabling on high-population roles
  • Consider rule priority to optimize processing order

Frequently Asked Questions

What happens when I hit the rule limit?

You cannot create new rules until you free up quota. Options:

  • Delete unused rules to make room
  • Consolidate similar rules into one
  • Upgrade to a premium plan for more quota

Existing rules continue working normally.

Can I request higher limits?

Premium plans offer expanded quotas for most users. For enterprise needs beyond the highest premium tier, contact support about custom plans.

Why is there a 7-day cooldown on quota reassignment?

The cooldown prevents abuse and ensures service stability. It encourages thoughtful allocation rather than constant switching between servers.

How do I know if I'm hitting rate limits?

You generally won't notice rate limits in normal operation. If you experience delays:

  • Check if many rules are processing simultaneously
  • Verify you're not in conflict with another bot
  • Large batch operations may take longer during peak Discord usage

Are these limits permanent?

Limits may be adjusted over time as the service evolves. The dashboard always shows current limits, which supersede this documentation if different.