lib/slack-ruby-bot/commands/hi.rb in slack-ruby-bot-0.3.1 vs lib/slack-ruby-bot/commands/hi.rb in slack-ruby-bot-0.4.0
- old
+ new
@@ -1,9 +1,9 @@
module SlackRubyBot
module Commands
class Hi < Base
- def self.call(data, _match)
- send_message_with_gif data.channel, "Hi <@#{data.user}>!", 'hi'
+ def self.call(client, data, _match)
+ send_message_with_gif client, data.channel, "Hi <@#{data.user}>!", 'hi'
end
end
end
end