Class: Twitch::Bot::Message::Base
- Defined in:
- lib/twitch/bot/message.rb
Overview
This class is the abstract base class for IRC events.
Direct Known Subclasses
Authenticated, FollowersOnlyMode, Join, LoginFailed, Mode, NotSupported, Ping, R9kMode, SlowMode, SubsOnlyMode, Subscription, UserMessage
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize(type: :unknown) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(type: :unknown) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/twitch/bot/message.rb', line 8 def initialize(type: :unknown) super(type: type) end |