Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide slash commands from members who do not have permission to use them #109

Open
TanyaPegasus opened this issue Jun 26, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@TanyaPegasus
Copy link
Member

By default, all of Dictator's commands are currently visible to all users, including moderation commands. Ideally only those commands which a member can use would show in the list. This should be possible under settings>integrations within Discord, but did not behave correctly when it was tried in the past.
There are 2 options. Restrict commands to only be used by game mods, or restrict them to particular channel/s. Although the code already restricts use, adding this within Discord itself should also hide the commands.

The most ideal scenario would be the ability to do all of this within the code, but this is not possible at this time.

https://support.discord.com/hc/en-us/articles/4644915651095-Command-Permissions
https://discord.com/blog/slash-commands-permissions-discord-apps-bots

@TanyaPegasus TanyaPegasus changed the title Hide slash commands from members who do no have permission to use them Hide slash commands from members who do not have permission to use them Jun 26, 2023
@connorhsm connorhsm added the enhancement New feature or request label Aug 18, 2023
@connorhsm connorhsm self-assigned this Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants