lib/slack-ruby-bot/hooks/hello.rb in slack-ruby-bot-0.4.5 vs lib/slack-ruby-bot/hooks/hello.rb in slack-ruby-bot-0.5.0
- old
+ new
@@ -1,11 +1,11 @@
module SlackRubyBot
module Hooks
module Hello
extend Base
- def hello(_client, _data)
- logger.info "Successfully connected to #{SlackRubyBot.config.url}."
+ def hello(client, _data)
+ logger.info "Successfully connected to #{client.url || 'slack'}."
end
end
end
end