-
Notifications
You must be signed in to change notification settings - Fork 9
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
SlackDeleteLast Script #30
Comments
Good point. This is a leftover of the pre-bot API days. The original intention was to allow anyone to delete bot entries from risky things like the Urban DIctionary script. |
This script is still very useful... |
I managed to get it to work, giving a user token for the token parameter in the request will make it work because its not using a bot token, however there's around 20 seconds delay for a message to be archived in Slack which means if you do undo command few seconds after a new post from the bot, it will not delete that last post it will delete a message before it that was archived previously. |
I re-wrote it to use channels.history and it works great for me, and I'm not experiencing any kind of delay... |
Hi @grantbowering I would advise opening the PR with a label of DoNotMerge and explain the issues in the PR notes. I or someone else can then have a look and see if we can help. |
The SlackDeleteLast script doesn't work for two reasons:
I can't think of a workaround.
The text was updated successfully, but these errors were encountered: