The Command Restrictions feature allows you to limit which roles can use specific commands, providing an additional layer of security and control over command usage.Documentation Index
Fetch the complete documentation index at: https://docs.greed.best/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Bot must have permissions to:
- Administrator (for the bot)
- Administrator (for the user setting restrictions)
Basic Commands
Add Restriction
The command and role must be separated by a comma. The role can be mentioned, named, or ID.
Remove Restriction
List Restrictions
Reset All Restrictions
Features
Command Control
- Restrict any command to specific roles
- Multiple roles can be restricted for the same command
- Restrictions persist across server restarts
- Easy to manage with clear commands
Role Management
- Works with any role in the server
- Supports role mentions, names, and IDs
- Can be used with custom roles
- Restrictions are role-based, not user-based
Security
- Additional layer of command protection
- Prevents unauthorized command usage
- Works alongside Discord’s permission system
- Helps maintain server security
Command restrictions are in addition to Discord’s built-in permission system. Users still need the appropriate Discord permissions to use commands.