class Slackify::Handlers::UnhandledHandler
Default handler for any text message that is not handler by other handlers This can easily be replaced by setting you own unhandled handler when configuring slackify. Use `#unhandled_handler=` to set it. Your handler must implement a `self.unhandled` method.
Public Class Methods
unhandled(params)
click to toggle source
# File lib/slackify/handlers/unhandled_handler.rb, line 10 def self.unhandled(params) slack_client.chat_postMessage( as_user: true, channel: params[:event][:user], text: "This command is not handled at the moment", ) end