Skip to content

RequireRole permission for commands.#2923

Merged
Misha-133 merged 2 commits into
discord-net:devfrom
ImNoOSRS:dev
May 11, 2024
Merged

RequireRole permission for commands.#2923
Misha-133 merged 2 commits into
discord-net:devfrom
ImNoOSRS:dev

Conversation

@ImNoOSRS

@ImNoOSRS ImNoOSRS commented May 9, 2024

Copy link
Copy Markdown
Contributor

The RequireRole attribute cummently only supports interactions and not text commands.

Description

Adds the RequireRole attribute for text commands.

Changes

Adds the RequireRole attribute for text commands.

Related Issues

None

Comment thread src/Discord.Net.Commands/Attributes/Preconditions/RequireRoleAttribute.cs Outdated
Comment thread src/Discord.Net.Commands/Attributes/Preconditions/RequireRoleAttribute.cs Outdated
Comment thread src/Discord.Net.Commands/Attributes/Preconditions/RequireRoleAttribute.cs Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants