class Irc::Bot::RemoteMessage
A RemoteMessage
is similar to a BasicUserMessage
Attributes
associated bot
contents of the message
remote client that originated the message
when the message was received
Public Class Methods
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
Source
# File lib/rbot/core/remote.rb, line 107 def private? true end
Remote messages are always ‘private’
Source
# File lib/rbot/core/remote.rb, line 102 def target @bot end
The target of a RemoteMessage