slackify
slackify copied to clipboard
Build Slackbot on Rails using Slack Event API
I've added the `RepeatHandler` as documented [here](https://github.com/jusleg/slackify#handling-plain-messages) but (on Rails 7 at least) this gives an exception: `repeat_handler is not defined (Slackify::Exceptions::InvalidHandler)` ... `in 'constantize': uninitialized constant RepeatHandler (NameError)`. This...
Ran into issue when calling [chat_unfurl Slack API](https://github.com/slack-ruby/slack-ruby-client/blob/498f34ec4b85baf26096b86255be9b7aa960a103/lib/slack/web/api/endpoints/chat.rb#L249) method where the payload for `unfurls:` doesn't accept `callback_id` in the JSON. Resulting error: `WARN: Slack::Web::Api::Errors::CannotParseAttachment: cannot_parse_attachment` From Slack support: `Unfortunately, that[chat_unfurl]...
Throwing up a rough PR at the moment to get this logging idea out there. For newcomers to the library it's useful to know when messages/interactions/events are unhandled and which...
When running in development, we encounter a lot of `DEPRECATION WARNING: Initialization autoloaded the constants [...]`
Slack recently made public the block kit for richer attachments. This new UI framework doesn't make use of `callback_id` and favors unique `action_id` per button/interactive field. I believe we could...
This PR should enable support for block actions referenced in #4