class Irc::JoinMessage
class to manage channel joins
Attributes
channel joined
Public Class Methods
Source
# File lib/rbot/message.rb, line 688 def initialize(bot, server, source, channel, message="") super(bot, server, source, channel, message) @channel = channel # in this case sourcenick is the nick that could be the bot @address = (source == @bot.myself) end
Calls superclass method
Irc::BasicUserMessage::new
Public Instance Methods
Source
# File lib/rbot/message.rb, line 683 def inspect fields = ' channel=' << channel.to_s super(fields) end
Calls superclass method
Irc::BasicUserMessage#inspect