lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.5.5 vs lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.6.0
- old
+ new
@@ -3,10 +3,10 @@
class Default < Base
command 'about'
match(/^(?<bot>[[:alnum:][:punct:]@<>]*)$/u)
def self.call(client, data, _match)
- send_message_with_gif client, data.channel, SlackRubyBot::ABOUT, 'selfie'
+ client.say(channel: data.channel, text: SlackRubyBot::ABOUT, gif: 'selfie')
end
end
end
end