Class: Ircbot::Plugin::InitialMessage

Inherits:
Net::IRC::Message
  • Object
show all
Defined in:
lib/ircbot/plugin.rb

Instance Method Summary collapse

Constructor Details

#initialize(nick = nil) ⇒ InitialMessage

Returns a new instance of InitialMessage.



12
13
14
# File 'lib/ircbot/plugin.rb', line 12

def initialize(nick = nil)
  super nick, "PRIVMSG", ["#channel", "(initialize)"]
end