Upgrade to Pro — share decks privately, control downloads, hide ads and more …

つくろう!超自然的存在

r7kamura
October 12, 2012

 つくろう!超自然的存在

r7kamura

October 12, 2012
Tweet

More Decks by r7kamura

Other Decks in Technology

Transcript

  1. require "chatroid" require "iremocon" remocon = Iremocon.new("192.168.0.2") Chatroid.new do set

    :service, "Twitter" set :consumer_key, "..." set :consumer_secret, "..." set :access_key, "..." set :access_secret, "..." on_tweet do |event| case event["text"] when /פ͍/ remocon.is(1) when /ॵ͍/ remocon.is(2) end end end.run! ࣮૷