Skip to content

Slack RTM breaking changes #233

Open
@binaryseed

Description

@binaryseed

Regarding the note in the Readme about the Slack API changes upon connect (rtm.start).. https://github.com/BlakeWilliams/Elixir-Slack#upgrading-from-0x-to-020

  1. I'm getting rate limited errors on even the first attempt to connect. Perhaps the Slack API s now rejecting rtm.start altogether?
  • I had to use the url /api/rtm.connect to get connected with the Slack API now
  • I had to tweak the Slack callback handle_connect to let you modify the slack portion of the internal state, which is necessary for any following state management to function
  1. Trying to initialize the Slack State requires more than the example code...
  • Slack state expects maps with the id as the key, not just a list
  • Slack state expects atom keys

These could be addressed fairly easily, but I'm not sure if there other implications...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions