lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.2.0 vs lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.3.0

- old
+ new

@@ -1,11 +1,11 @@ module SlackRubyBot module Commands class Default < Base - command 'default' command 'about' + match(/^(?<bot>\w*)$/) - def self.call(data, _command, _arguments) + def self.call(data, _match) send_message_with_gif data.channel, SlackRubyBot::ABOUT, 'selfie' end end end end