Class: SSCBot::ChatLog::FreqMessage

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

Overview

Author:

  • Jonathan Bradley Whited

Since:

  • 0.1.0

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:) ⇒ FreqMessage

Returns a new instance of FreqMessage.

Since:

  • 0.1.0



53
54
55
# File 'lib/ssc.bot/chat_log/messages.rb', line 53

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