class Twitch::Bot::NoticeCommandParser
Parses a NOTICE IRC command.
Public Instance Methods
call()
click to toggle source
# File lib/twitch/bot/message_parser.rb, line 157 def call if message.params.last.match?(/Login authentication failed/) Message::LoginFailed.new(user: message.user) else Message::NotSupported.new(message) end end