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