class Irc::KickMessage
class to manage IRC KICKs address?
can be used as a shortcut to see if the bot was kicked, basically, target
was kicked from channel
by source
with message
Attributes
channel[R]
channel user was kicked from
Public Class Methods
new(bot, server, source, target, channel, message="")
click to toggle source
Calls superclass method
Irc::BasicUserMessage::new
# File lib/rbot/message.rb, line 539 def initialize(bot, server, source, target, channel, message="") super(bot, server, source, target, message) @channel = channel end
Public Instance Methods
inspect()
click to toggle source
Calls superclass method
Irc::BasicUserMessage#inspect
# File lib/rbot/message.rb, line 534 def inspect fields = ' channel=' << channel.to_s super(fields) end