Slash Command Permissions #67

Open
opened 2021-09-19 22:11:24 +00:00 by DuckMasterAl · 0 comments
DuckMasterAl commented 2021-09-19 22:11:24 +00:00 (Migrated from github.com)

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

### 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
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: matthew/enhanced-discord.py#67
No description provided.