class Twitchbot::Channel

Class responsible for keeping track of channel attributes such as channel state and users in the channel

TODO: Implement channel states e.g. r9k, emote-only, sub-only, slow TODO: Capture channel id from tags

Attributes

name[R]

@return [String] Name of the channel we have joined

users[RW]

@return [Hash] Mapping of user objects according to their username

Public Class Methods

new(name) click to toggle source
# File lib/twitchbot/channel.rb, line 13
def initialize(name)
  @name = name
  @users = {}
end