how do i disable a D#+ Command to not show for users who don't have specific permissions such as Administrator, Or Owner?
a reply would be appreciated, thanks.
how do i disable a D#+ Command to not show for users who don't have specific permissions such as Administrator, Or Owner?
a reply would be appreciated, thanks.
The easiest way to hide a command from someone who should not have access to it is with attribution.
You can change the attribution to any of the permissions found in DSharpPlus.Permissions
You can also use roles for this as well:
RoleCheckMode can be used to define parameters for when you have multiple roles involved, and you can find more about this attribution here