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