-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
err-stackstorm plugin unable to work with SlackV3 errbot backend. #42
Comments
I was able to reproduce the same behaviour as you but only when posting a direct message to the bot.
If I posted to a channel, the username is resolved:
The channel information was derived from the message from field
In the case of a direct message it is:
I'll need to investigate further to determine the best way to handle this situation. You might be able to work around the issue of the slack pack being unable to send message to the raw text More information about Slack usernames can be found here https://api.slack.com/changelog/2017-09-the-one-about-usernames |
@nzlosh thanks for the response. Yes - the main way our system works (ChatOps functionality) is direct messaging with Slack bot user so sensitive details (like generated passwords) will not be accessed by other users. Side question: do you know why errbot's slack backend refuses to consume recently created Slack classic application's token? That situation drove me to use SlavkV3 backend which isn't fully supported by other moving parts of our system. |
I haven't used the slack backend for a few years now, so I don't know what could be going wrong. As far as I know it should work with classic tokens but it uses such an old slackclient, anything could be going wrong. |
Hi, I've configured the latest err-stackstorm + errbot with the latest err-backend-slackv3 and using the Classic Slack application's (with RTM support enabled) slack token only. errbot[slack] v.6.1.8 is used with latest StackStorm.
All connections (errbot to Slack and err-stackstorm to StackStorm) were established well w/o errors.
However, during any message posting from Slack to StackStorm I'm getting this:
and later, Slack pack in StackStorm is unable to properly communicate with Slack due to a missing username.
@nzlosh can you suggest something?
The text was updated successfully, but these errors were encountered: