Closed JnBrymn closed 3 years ago
The only way I see around this is giving Penny "god access" to every channel in the organization, since I don't think you can customize when users can see Slack's errors (unless it only says it failed because Penny doesn't send back a response, but it should send back something I think :thinking:). But, as said before in the weekly call, I'm not sure many other Slack workspaces will enjoy a bot having that much access.
This might not actually be a permissions issue. A few clues: https://stackoverflow.com/questions/63665120/slash-command-dispatch-failed
This is apparently a common issue https://github.com/slackapi/bolt-js/issues/579. That might be an issue with that particular framework, however.
And this Stack Overflow answer indicates that it will not send the correct channel if you make a command in a private channel. Maybe we are trying to use the channel id somewhere and it is failing.
Hah! Found the issue via Sentry and solved it by typing literally 2 characters 😂 .
Actually, I'll have to type a few more to solve it better.
Steps to Repro
In private channel type
/penny chat
and see:but also see the modal pop up.
This might be confusing to users and lead them to mistrust the product is going to work.