Sha256: 4786ded3c79b12688c9ca77af6c1c3e9949f9b04ba78d68459484e826d15c785
Contents?: true
Size: 296 Bytes
Versions: 1
Compression:
Stored size: 296 Bytes
Contents
require "ruboty/rin_chan/actions/rin_chan" module Ruboty module Handlers class RinChan < Base on /(hi|hello)/i, name: 'rin_chan', description: 'react to hi or hello' def rin_chan(message) Ruboty::RinChan::Actions::RinChan.new(message).call end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruboty-rin_chan-0.2.0 | lib/ruboty/handlers/rin_chan.rb |