Skip to content
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

Slack Bot Not Updating Message #4

Open
connor-tyndall opened this issue Jan 2, 2019 · 6 comments
Open

Slack Bot Not Updating Message #4

connor-tyndall opened this issue Jan 2, 2019 · 6 comments

Comments

@connor-tyndall
Copy link

The Slack Bot I have configured, it is not updating (chat.update) the original message. It is posting a new message for each change in my pipeline. Your gif shows that it should be updating the original message as the steps are being executed in the pipeline.

Please advise.

@rayjanoka
Copy link
Contributor

Hey Connor, Did you add the permission scope to your bot?

It is required to add the permission scope 'Access user’s public channels' (channels:history).

@connor-tyndall
Copy link
Author

Yes, and it posting to the channel. Just not updating the messages. I should mention this is a private Slack channel (if that makes a difference).

image

@connor-tyndall
Copy link
Author

So that's what it was... it works if I use a PUBLIC slack channel.

@connor-tyndall
Copy link
Author

However, when I click on Build Logs it takes me to a null logGroup and null logStream.

image

@theodorosidmar
Copy link

Well, I do not know if this suits to this issue, but the final result is far away from the result shown at build.gif on readme.md 🙁

Result:
image

Gif:
image

@allantaylor8907
Copy link

@rayjanoka or @connor-tyndall
I can't get the bot to post anything at all. I have the cloudformation stack deployed with the master branch of repo instead of the outdated deployment link. I also added in:
SLACK_CHANNEL: !Ref SlackChannel
I have both tokens set but no messaging ever appears. Curious if you could point me in the right direction to test the lambda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants