Sha256: b3a5966e38b779e3ad7ff03b437809408e00b8259902d722dc3b7b7a68c03e3e
Contents?: true
Size: 323 Bytes
Versions: 4
Compression:
Stored size: 323 Bytes
Contents
# frozen_string_literal: true module SlackRubyBot module Commands class Unknown < Base match(/^(?<bot>\S*)[\s]*(?<expression>.*)$/) 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
Version data entries
4 entries across 4 versions & 2 rubygems