class SlackRespondent::Commands::Unknown

Public Class Methods

call(client, data, _match) click to toggle source
# File lib/slack_respondent/commands/unknown.rb, line 4
def self.call(client, data, _match)
  client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!")
end
pattern() click to toggle source
# File lib/slack_respondent/commands/unknown.rb, line 8
def self.pattern
  /^(.*)$/
end