Channel

Channel

new Channel(fetcher, name)

Source:

A Twitch channel.

Parameters:
Name Type Description
fetcher EmoteFetcher

The emote fetcher.

name string

The name of the channel.

Members

emotes :Collection.<string, Emote>

Source:

Cached emotes belonging to this channel.

Type:

fetcher :EmoteFetcher

Source:

The emote fetcher.

Type:

(nullable) name :string

Source:

The name of this channel.
For the global channel, the name will be null.

Type:
  • string

Methods

fetchBTTVEmotes() → {Promise.<Collection.<string, BTTVEmote>>}

Source:

Fetches the BTTV emotes for this channel.

Returns:
Type
Promise.<Collection.<string, BTTVEmote>>

fetchFFZEmotes() → {Promise.<Collection.<string, FFZEmote>>}

Source:

Fetches the FFZ emotes for this channel.

Returns:
Type
Promise.<Collection.<string, FFZEmote>>