Module: IIRC::Pong

Included in:
Bot
Defined in:
lib/iirc/modules/pong.rb

Instance Method Summary collapse

Instance Method Details

#on_ping(evt) ⇒ Object



3
4
5
# File 'lib/iirc/modules/pong.rb', line 3

def on_ping evt
  self << "PONG :#{evt.args[0]}"
end