-
Notifications
You must be signed in to change notification settings - Fork 193
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
README example code is outdated #41
Comments
ok I take it :) |
What did you cast it to? Updating is not working for me. |
I can confirm this. After investigating a little bit it seems that after sending a message, resulting object does not have a The only work around I could come up with is to cast the
I'd attempt to fix it, but i'm still trying to figure out whether or not slack message replies always include a |
I fixed one error regarding this a while ago, however there are many occurrences of this and it can become somewhat confusing to fix them all. It feels like the visible API methods were changed after the backend was written. It would take a lot of work to convert it all |
Well we need to start somewhere... On the other hand I guess a simple way of solving the sample code problem would be to add the sample code in a sample subproject. That way the build would fail if the sample code isn't up to date. |
I just started the samples :) some more will come soon |
Just to add some details on this issue, |
I've investigated further, so indeed the |
This change purpose is to provide SlackMessageReply instances as inteded when sending message, updating message and deleting messages instead of GenericSlackReply (raised with issue #41)
fixed with d8d6a1f commit |
Title speaks all, really. Regarding the updating and deletion of the message sent, I had to rummage around the source to find a solution, which was actually casting the getReply() from the event to the correct class. Seems a little sketchy if you ask me, but oh well.
The text was updated successfully, but these errors were encountered: