Class: Irc::NoticeMessage
- Inherits:
-
UserMessage
- Object
- BasicUserMessage
- UserMessage
- Irc::NoticeMessage
- Defined in:
- lib/rbot/message.rb
Overview
class to manage IRC NOTICEs
Instance Attribute Summary
Attributes inherited from UserMessage
#action, #channel, #ctcp, #params, #plugin, #replyto
Attributes inherited from BasicUserMessage
#bot, #ignored, #in_thread, #logmessage, #message, #plainmessage, #replied, #server, #source, #target, #time
Instance Method Summary collapse
-
#initialize(bot, server, source, target, message, opts = {}) ⇒ NoticeMessage
constructor
A new instance of NoticeMessage.
Methods inherited from UserMessage
#act, #action?, #ctcp_reply, #inspect, #nickokay, #nickreply, #nickreply!, #notify, #okay, #plainokay, #plainreply, #private?, #public?, #reply
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
#initialize(bot, server, source, target, message, opts = {}) ⇒ NoticeMessage
Returns a new instance of NoticeMessage.
518 519 520 521 |
# File 'lib/rbot/message.rb', line 518 def initialize(bot, server, source, target, , opts={}) @msg_wants_id = opts[:handle_id] super(bot, server, source, target, ) end |