Command Restriction
lutfen uses slash commands to make it easy for users to discover and use commands. This means you can set specific commands to certain roles/members, and make specific commands only usable in certain channels.
You can do this in the
page.
The
section controls who can use commands. Every member can use lutfen commands by default.The
section controls where commands can be used. lutfen commands can be used in every channel by default.The
section also controls where commands can be used and by who, but specific to each command. If a setting is made on a command, that setting is used when determining who can use the command where.Some commands include default permission requirements. These commands require the resolved permissions of the user to have the specified bit set. If you add a role/member override to a command, its permission requirements become disabled.
An example
For example, the /at-someone
command has the Mention @everyone, @here and All Roles default permission. If you don't customise the command's permissions, only members with that permission can use the command. If your server requires an environment where everybody can use the /at-someone
command, you can add the @everyone
role as an override set to "yes". This will allow every member to use the command, regardless of whether their resolved permissions have the Mention @everyone, @here and All Roles permission.