Slash Command Permissions #67
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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