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