Class

Follows

Follows(tool)

Constructor

new Follows(tool)

This module polls channel followers on a regular basis and emits events on changes
Parameters:
Name Type Description
tool TTVTool

View Source var/follows.js, line 3

Extends

  • EventEmitter

Type Definitions

Object

userObject

An abstraction of the Chat~userObject but with less properties
Properties:
Name Type Description
user String Twitch user name
name String Twitch display name
color String Hex color string prepended by a #

View Source var/follows.js, line 130

Events

follow

Fires when a new follower appears in the list
Parameters:
Name Type Description
user Follows~userObject The user with username, display name and color
raw Object The raw follow object from the api

View Source var/follows.js, line 109