Open jsvd opened 4 years ago
The lita addon for slack we use for Jarvis is https://github.com/litaio/lita-slack.
This addon relies in a set of permissions that is now deprecated, such as rtm.start and im.open. New bot applications in Slack will no longer expose these permission scopes, which means the lita framework currently needs to be deployed as a generic application, and even then requires a tweak in https://github.com/litaio/lita-slack/blob/master/lib/lita/adapters/slack/api.rb#L24, from:
im.open
response_data = call_api("im.open", user: user_id)
to:
response_data = call_api("conversations.open", users: user_id)
Lita and such addons haven't been updated in a few years, which means Jarvis may not be able to rely on Lita in the near future and an alternative is needed.
The lita addon for slack we use for Jarvis is https://github.com/litaio/lita-slack.
This addon relies in a set of permissions that is now deprecated, such as rtm.start and
im.open
. New bot applications in Slack will no longer expose these permission scopes, which means the lita framework currently needs to be deployed as a generic application, and even then requires a tweak in https://github.com/litaio/lita-slack/blob/master/lib/lita/adapters/slack/api.rb#L24, from:to:
Lita and such addons haven't been updated in a few years, which means Jarvis may not be able to rely on Lita in the near future and an alternative is needed.