command(/ping/i) do say "pong" end command(/echo (.*)$/i) do |message| say message.match[1] end command(/time/i) do say "reeepitaaa: #{Time.now}" end