Class: Irc::NoSuchTargetMessage
- Inherits:
-
BasicUserMessage
- Object
- BasicUserMessage
- Irc::NoSuchTargetMessage
- Defined in:
- /home/apoc/projects/ruby/rbot/lib/rbot/message.rb
Overview
class to handle ERR_NOSUCHNICK and ERR_NOSUCHCHANNEL
Instance Attribute Summary (collapse)
-
- (Object) target
readonly
the channel or nick that was not found.
Attributes inherited from BasicUserMessage
#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #time
Instance Method Summary (collapse)
-
- (NoSuchTargetMessage) initialize(bot, server, source, target, message = '')
constructor
A new instance of NoSuchTargetMessage.
Methods inherited from BasicUserMessage
#address?, #botuser, #identified?, #inspect, #parse_channel_list, #prefixed?, #recurse_depth, #recurse_depth=, #sourceaddress, #sourcenick, strip_formatting, strip_initial_formatting, stripcolour
Constructor Details
- (NoSuchTargetMessage) initialize(bot, server, source, target, message = '')
Returns a new instance of NoSuchTargetMessage
721 722 723 724 725 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 721 def initialize(bot, server, source, target, ='') super(bot, server, source, target, ) @target = target end |
Instance Attribute Details
- (Object) target (readonly)
the channel or nick that was not found
719 720 721 |
# File '/home/apoc/projects/ruby/rbot/lib/rbot/message.rb', line 719 def target @target end |