# frozen_string_literal: true module SlackRubyBot module Commands class Unknown < Base match(/^(?\S*)[\s]*(?.*)$/) def self.call(client, data, _match) client.say(channel: data.channel, text: "Sorry <@#{data.user}>, I don't understand that command!") end end end end