Class: Twitch::Bot::FollowersOnlyModeParser

Inherits:
CommandParser show all
Defined in:
lib/twitch/bot/message_parser.rb

Instance Attribute Summary

Attributes inherited from CommandParser

#message

Instance Method Summary collapse

Methods inherited from CommandParser

#initialize

Constructor Details

This class inherits a constructor from Twitch::Bot::CommandParser

Instance Method Details

#callObject



130
131
132
133
134
# File 'lib/twitch/bot/message_parser.rb', line 130

def call
  Message::FollowersOnlyMode.new(
    status: message.tags["followers-only"],
  )
end