Sha256: bb6e3cef67490d032b0da8e11b52928b894e9d2028cb4dc2e11e8881e1f9100e
Contents?: true
Size: 301 Bytes
Versions: 4
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true module SlackRubyBot module Commands class Hi < Base help do title 'hi' desc 'Says hello.' end def self.call(client, data, _match) client.say(channel: data.channel, text: "Hi <@#{data.user}>!") end end end end
Version data entries
4 entries across 4 versions & 2 rubygems