Skip to content

Instantly share code, notes, and snippets.

@blizzarddreams
Last active November 14, 2015 16:51
Show Gist options
  • Select an option

  • Save blizzarddreams/fe309662815135c968fe to your computer and use it in GitHub Desktop.

Select an option

Save blizzarddreams/fe309662815135c968fe to your computer and use it in GitHub Desktop.
module ChatHelpers
end
require 'faye/websocket'
require 'open-uri'
require 'faraday'
require 'json'
require_relative 'chat_helpers'
class ChatParser
include ChatHelpers
attr_accessor :ws, :room, :user, :rooms, :server, :owner, :symbol, :log, :plugins, :room_join_time, :tier, :challenged, :bot
def initialize(user, pass, symbol, ws)
@user = user
@pass = pass
@symbol = symbol
@ws = ws
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment