lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.4.2 vs lib/slack-ruby-bot/commands/about.rb in slack-ruby-bot-0.4.3
- old
+ new
@@ -1,9 +1,9 @@
module SlackRubyBot
module Commands
class Default < Base
command 'about'
- match(/^(?<bot>\w*)$/)
+ match(/^(?<bot>[\w[:punct:]@<>]*)$/)
def self.call(client, data, _match)
send_message_with_gif client, data.channel, SlackRubyBot::ABOUT, 'selfie'
end
end