Follows

new Follows(tool)

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

Extends

  • EventEmitter

Type Definitions

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 #

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