Class: SSCBot::ChatLog::PrivateMessage

Inherits:
PlayerMessage show all
Defined in:
lib/ssc.bot/chat_log/messages.rb

Overview

Author:

  • Jonathan Bradley Whited

Since:

  • 0.1.0

Direct Known Subclasses

RemoteMessage

Constant Summary

Constants inherited from Message

Message::TYPES

Instance Attribute Summary

Attributes inherited from PlayerMessage

#message, #name

Attributes inherited from Message

#line, #type

Instance Method Summary collapse

Methods inherited from Message

add_type, #type?, valid_type?

Constructor Details

#initialize(line, name:, message:, type: :private) ⇒ PrivateMessage

Returns a new instance of PrivateMessage.

Since:

  • 0.1.0



81
82
83
# File 'lib/ssc.bot/chat_log/messages.rb', line 81

def initialize(line,name:,message:,type: :private)
  super(line,type: type,name: name,message: message)
end