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

Edits to existing messages should be ignored #61

Open
noah-guillory opened this issue Feb 20, 2020 · 1 comment
Open

Edits to existing messages should be ignored #61

noah-guillory opened this issue Feb 20, 2020 · 1 comment

Comments

@noah-guillory
Copy link
Collaborator

As is, one can edit their message calling the bot for a request and the bot will still carry out the request over and over again. We should be ignoring edits and only paying attention to actual new messages

@andrewmiller-ats
Copy link

Should just be as simple as checking if the slack event message type has an "edited" field and not honoring the request if it does
https://api.slack.com/events/message

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

2 participants