ResultadosDigitais/hellper

Only the owner of the bot is able to receive the return of private messages

danielleqa opened this issue · 4 comments

Subject of the issue

We identified that when trying to send the command privately to the bot with a user other than the owner of the bot, the same can not reply on the channel saying that it does not exist.

This problem occurs because of the oauth token used in the operation. A bot in the slack has 2 types of oauth token and all are needed for the correct operation of the bot. We need to identify the correct mechanism for using these tokens.

Can you put more details? What is the problem? What is the expected result?

I think we should stop using any command through a message. Now with the Slack new feature shortcuts, it is way better to use an app.

I have edited the first comment to fit in our documentation template.

this scenario doesn't happens anymore.