AutoRole Commands¶
AutoRole system automatically assigns roles to new members when they join your server. This eliminates the need for manual role assignment and ensures consistent role distribution.
Quick Reference¶
| Command | Description | Permission Required |
|---|---|---|
&autorole add human | Add auto role for human members | Manage Roles |
&autorole add bot | Add auto role for bot members | Manage Roles |
&autorole list | List all configured auto roles | Manage Roles |
&autorole reset | Reset all auto role configurations | Manage Roles |
Overview¶
The AutoRole system provides:
- Separate role assignment for humans and bots
- Instant role assignment when members join
- Fallback protection if role assignment fails
- Easy configuration with simple commands
Best Practices
- Use AutoRole for general member roles like
@Membersor@Verified - Don't assign administrative roles automatically
- Test AutoRole with a friend joining/leaving
- Keep role hierarchy in mind when setting up
Commands¶
&autorole add human¶
Add an automatic role for human members.
Parameters: - role - The role to assign to human members
Examples:
&autorole add human @Members
&autorole add human @Humans
&autorole add human 123456789012345678 # Using role ID
Bot Permissions Required: - Manage Roles
User Permissions Required: - Manage Roles
Usage Example
Setting up member role:
Bot Response:
Troubleshooting:
Error: "Role is higher than mine"
Solution: Move bot's role above the target role in Server Settings > Roles
Error: "Role not accessible"
Solutions: - Check if role exists and wasn't deleted - Ensure role isn't managed by another bot - Verify role isn't @everyone
Error: "Missing permissions"
Solution: Grant bot "Manage Roles" permission
&autorole add bot¶
Add an automatic role for bot members.
Parameters: - role - The role to assign to bot members
Examples:
Features: - Only applies to Discord bots, not regular users - Useful for organizing bots in member list - Helps with permission management for bots
Complete Bot Setup
Step 1: Create bot role
Step 2: Configure AutoRole
Step 3: Verify setup
&autorole list¶
List all configured auto roles.
No parameters required
Example Output:
📋 AutoRole Configuration
Human Members: @Members
Bot Members: @Bots
All Members: not-set
✅ AutoRole is currently enabled
Last updated: 2 hours ago
Total roles assigned: 1,234
Information Shown: - Current role assignments for humans and bots - Whether AutoRole is enabled/disabled - Statistics on role assignments - Last configuration change
&autorole reset¶
Reset all auto role configurations.
No parameters required
Destructive Action
This command removes ALL AutoRole settings and cannot be undone. Use with caution!
Confirmation Required: The bot will ask for confirmation before proceeding.
Example:
Bot Response:
⚠️ Confirmation Required
This will remove ALL AutoRole settings. Type 'confirm' to proceed or 'cancel' to abort.
Advanced Configuration¶
Multiple Roles¶
Currently, AutoRole supports one role per category (human/bot). To assign multiple roles:
- Set up AutoRole for primary role
- Use Role Management commands for additional roles
- Consider using role reactions for optional roles
Role Hierarchy Considerations¶
Role Hierarchy Rules
- Bot's role must be higher than AutoRole targets
- AutoRole cannot assign roles higher than bot's position
- @everyone role cannot be used with AutoRole
- Managed roles (from other bots) cannot be assigned
Integration with Other Features¶
AutoRole works seamlessly with:
- Role Management - Additional role operations
- Moderation - Channel permissions based on roles
- Utility Commands - Role-based information display
Troubleshooting¶
Common Issues¶
Symptoms: New members don't receive roles
Checklist: - [ ] AutoRole is configured (&autorole list) - [ ] Bot has "Manage Roles" permission - [ ] Bot role is above target role - [ ] Role exists and isn't deleted - [ ] Role isn't managed by another bot
Possible Causes: - Members joined before AutoRole was set up - Bot was offline when members joined - Role hierarchy issues - API rate limiting during mass joins
Solutions: - Use &role_all_human @role to assign to existing members - Check bot uptime and status - Verify role permissions
Problem: Bot members receiving human-designated roles
Solution: - Remove any "All Members" AutoRole setting - Use separate human and bot role configurations - Check if role is being assigned elsewhere
Error Messages¶
| Error | Meaning | Solution |
|---|---|---|
| "Role is higher than mine" | Target role is above bot's role | Move bot role higher in hierarchy |
| "Role not accessible" | Role doesn't exist or is managed | Check role exists and isn't managed by other bots |
| "Missing permissions" | Bot lacks Manage Roles permission | Grant bot Manage Roles permission |
| "AutoRole disabled" | System is turned off | Contact support if issue persists |
Best Practices¶
Security Considerations¶
- ✅ Never assign admin roles automatically
- ✅ Review role permissions before setting AutoRole
- ✅ Test with a friend joining the server
- ✅ Monitor role assignments regularly
Performance Optimization¶
- ✅ Use simple role names without special characters
- ✅ Limit to essential roles only
- ✅ Avoid frequently changing AutoRole settings
- ✅ Monitor for rate limiting during mass joins
Server Organization¶
graph TD
A[New Member Joins] --> B{Is Bot?}
B -->|Yes| C[Assign Bot Role]
B -->|No| D[Assign Human Role]
C --> E[Complete]
D --> E
E --> F[Member can access server] Related Commands¶
&role- Manually assign roles&role_all_human- Assign role to all humans&create_roles- Create new roles&inrole- List members with specific roles
Support¶
Need help with AutoRole configuration?
- 📚 Common Issues - Solutions to frequent problems
- 💬 Support Server - Get help from our community
- 📧 Email: support@nexinlabs.com
Next: Learn about Moderation Commands →