class Irc::Bot::RemoteMessage
A RemoteMessage is similar to a BasicUserMessage
Attributes
bot[R]
associated bot
message[RW]
contents of the message
source[R]
remote client that originated the message
time[R]
when the message was received
Public Class Methods
new(bot, source, message)
click to toggle source
# File lib/rbot/core/remote.rb, line 94 def initialize(bot, source, message) @bot = bot @source = source @message = message @time = Time.now end
Public Instance Methods
private?()
click to toggle source
Remote messages are always 'private'
# File lib/rbot/core/remote.rb, line 107 def private? true end
target()
click to toggle source
The target of a RemoteMessage
# File lib/rbot/core/remote.rb, line 102 def target @bot end