Commands with context_menu_command set currently ignore default_member_permissions. This PR fixes that. I personally view this as a security issue, as it's very easy to make a command intended for privileged users and overlook the fact that the permissions are only enforced on the slash command variant and not the context menu command.
Commands with
context_menu_command
set currently ignoredefault_member_permissions
. This PR fixes that. I personally view this as a security issue, as it's very easy to make a command intended for privileged users and overlook the fact that the permissions are only enforced on the slash command variant and not the context menu command.