Class: Ruboty::NyanNyan::Actions::NyanNyan

Inherits:
Actions::Base
  • Object
show all
Defined in:
lib/ruboty/nyan_nyan/actions/nyan_nyan.rb

Instance Method Summary collapse

Instance Method Details

#callObject



5
6
7
8
9
10
11
12
13
# File 'lib/ruboty/nyan_nyan/actions/nyan_nyan.rb', line 5

def call
  if message.robot.nyan_nyan?
    message.robot.unnekonize!
    message.reply("ハニャン!?")
  else
    message.reply("ハニャニャ。。。")
    message.robot.nekonize!
  end
end