Allow slash commands to be used when Send Message is Disabled #5097
-
Currently when a user has the Send Message perm disabled and Use Application Commands enabled slash commands can't be used. Allowing application command use in channels where you can't send messages can be helpful for a variety of reasons, including:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
Adding to the list:
Having these permissions coupled is not very intuitive |
Beta Was this translation helpful? Give feedback.
-
is it still happening? We can't repro in our client now |
Beta Was this translation helpful? Give feedback.
-
The behavior of requiring ReasoningIt was decided that it didn't make sense to grant users with no ability to create messages in a channel the ability to create them via a bot. The thinking here is that the avenue for abuse is easy to accidentally setup when considering how By default, most people work with permissions at the role level and then setup sparing channel overrides as needed, so the main case here would be that While we could technically make the permissions separate (and thus also require channel-specific What about message components?Originally I called this a gray area because there is another type of interaction that can bypass We decided to maintain the ability to interact with these buttons given how the community was using them, often as a way to take action or interact without allowing messages to be sent in a channel, like with self-role-assigning bots. It was also decided that if someone with access to Possible solutions given the current system
You could have a separate channels to kick things off compared to the channel holding the LFG posts
In fact, I'd actually expect a setup like
You then can do one of two things
Honestly, theres nothing stopping you from still having an ephemeral command that gathers information and sends it to the admins. Not sure why this needs to be in a specific channel honestly. If you're deadset on it (maybe you want to have a
There is no real solution to this one in the current system. It is a workflow that we recognize some people might desire but given how the permissions behaviors would have to change to support it compared the the functionality that would be achieved, we don't feel this is a compelling usecase.
Not being able to use context menus does kinda suck, not gonna lie. This is a known problem (hello translation bots?) but given the things mentioned before, this isn't something we're looking to support currently. |
Beta Was this translation helpful? Give feedback.
-
When are you gonna fix this?? We don't want ppl to be able to spam adult links in our welcome channel like they usually do. but we want them to be able to use a command. like wtf please fix asap. |
Beta Was this translation helpful? Give feedback.
The behavior of requiring
SEND_MESSAGES
as well asUSE_APPLICATION_COMMANDS
to be able to use commands (slash, context, etc) is an intentional choice that arose from having to make a decision in a gray area.Reasoning
It was decided that it didn't make sense to grant users with no ability to create messages in a channel the ability to create them via a bot. The thinking here is that the avenue for abuse is easy to accidentally setup when considering how
SEND_MESSAGES
is used: When the permission is denied, a moderator can confidently assume that it means that a user will have no ability to send messages to the channel. This is typically critically important for something like announcement…