The ability to lock slash commands to certain users and/or roles.
What is the feature request for?
discord.ext.commands
The Problem
This feature solves the issue of users being able to run slash commands without permission.
(Yes, I know you can just make a check and return an error but ¯\_(ツ)_/¯)
The Ideal Solution
When this feature is implemented, developers will be able to lock slash commands to certain users and roles.
The Current Solution
Making a check and returning an error message if a user doesn't have permission to run a command.
### Summary
The ability to lock slash commands to certain users and/or roles.
### What is the feature request for?
discord.ext.commands
### The Problem
This feature solves the issue of users being able to run slash commands without permission.
(Yes, I know you can just make a check and return an error but ¯\\_(ツ)\_/¯)
### The Ideal Solution
When this feature is implemented, developers will be able to lock slash commands to certain users and roles.
### The Current Solution
Making a check and returning an error message if a user doesn't have permission to run a command.
### Additional Context
Discord Docs: https://discord.com/developers/docs/interactions/application-commands#permissions
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The ability to lock slash commands to certain users and/or roles.
What is the feature request for?
discord.ext.commands
The Problem
This feature solves the issue of users being able to run slash commands without permission.
(Yes, I know you can just make a check and return an error but ¯\_(ツ)_/¯)
The Ideal Solution
When this feature is implemented, developers will be able to lock slash commands to certain users and roles.
The Current Solution
Making a check and returning an error message if a user doesn't have permission to run a command.
Additional Context
Discord Docs: https://discord.com/developers/docs/interactions/application-commands#permissions