Class: Twitch::Bot::Client::AuthenticatedHandler
- Inherits:
-
EventHandler
- Object
- EventHandler
- Twitch::Bot::Client::AuthenticatedHandler
- Defined in:
- lib/twitch/bot/default_handlers.rb
Overview
Handle the :authenticated event required for joining our channel.
Instance Attribute Summary
Attributes inherited from EventHandler
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from EventHandler
Constructor Details
This class inherits a constructor from Twitch::Bot::EventHandler
Class Method Details
.handled_events ⇒ Object
24 25 26 |
# File 'lib/twitch/bot/default_handlers.rb', line 24 def self.handled_events [:authenticated] end |
Instance Method Details
#call ⇒ Object
20 21 22 |
# File 'lib/twitch/bot/default_handlers.rb', line 20 def call client.join_default_channel end |