Emote

Emote

new Emote(channel, id, data)

Source:

Base class for emotes.
This constructor is not to be used.

Parameters:
Name Type Description
channel Channel

Channel this emote belongs to.

id string

ID of the emote.

data data

The raw emote data.

Members

channel :Channel

Source:

The channel this emote belongs to.
Only accurate and constant on Twitch emotes.
For other types of emotes, use the owner or ownerName property.

Type:

code :string

Source:

The code or name of the emote.

Type:
  • string

fetcher :EmoteFetcher

Source:

The emote fetcher.

Type:

id :string

Source:

The ID of this emote.

Type:
  • string

type :string

Source:

The type of this emote.
Either twitch, bttv, or ffz.

Type:
  • string

Methods

toString() → {string}

Source:

Override for toString.
Will give the emote's name.

Returns:
Type
string