Skip to content

Releases: mkody/twitch-emoticons

2.6.2: Maintenance release

10 Mar 09:40
Compare
Choose a tag to compare

This is a maintenance release.

We're now using Twurple 6 to access the Twitch API.
Other devDependencies were updated as well.

(Note about this GitHub repo: it's now detached from upstream and master is the default branch again.)

Bellow a copy of the 2.6.0 release notes.


This release adds support for 7TV emotes.
It is also possible to pick between the WEBP and AVIF image formats during the fetching.
Example usage: fetcher.fetchSevenTVEmotes(44317909, 'avif');
(Note that the second parameter is optional and is webp by default.)

Dependencies were also updated.

2.6.1: Fix crash with 7TV

30 Dec 22:42
Compare
Choose a tag to compare

Format might be missing and not properly set to the channel object.

(Note about this GitHub repo: it's now detached from upstream and master is the default branch again.)

Bellow a copy of the 2.6.0 release notes.


This release adds support for 7TV emotes.
It is also possible to pick between the WEBP and AVIF image formats during the fetching.
Example usage: fetcher.fetchSevenTVEmotes(44317909, 'avif');
(Note that the second parameter is optional and is webp by default.)

Dependencies were also updated.

2.6.0: Add support for 7TV emotes

15 Dec 13:36
Compare
Choose a tag to compare

This release adds support for 7TV emotes.
It is also possible to pick between the WEBP and AVIF image formats during the fetching.
Example usage: fetcher.fetchSevenTVEmotes(44317909, 'avif');
(Note that the second parameter is optional and is webp by default.)

Dependencies were also updated.

2.5.0: Updated Twitch's CDN template

20 Jul 21:18
Compare
Choose a tag to compare

This release supports Twitch's new Emotes CDN URL template.
This new template can now return an image/gif for animated emotes.

Dependecies were also updated.

2.4.1: Fixes typings from 2.4.0

23 Oct 20:52
Compare
Choose a tag to compare

This release (hopefully) fixes typings with the changes introduced in 2.4.0.

Bellow a copy of the 2.4.0 release notes.


BREAKING

This package now requires to pass a Twitch Client ID and a Client Secret to EmoteFetcher before fetching Twitch emotes.

const clientId = '<your client id>';
const clientSecret = '<your client secret>';

const fetcher = new EmoteFetcher(clientId, clientSecret);

To create a Twitch app: https://dev.twitch.tv/console/apps/create
(Set the OAuth Redirect URLs to http://localhost)

2.4.0: Twitch emotes now fetched via Twitch Helix API

19 Oct 18:36
Compare
Choose a tag to compare

BREAKING

This package now requires to pass a Twitch Client ID and a Client Secret to EmoteFetcher before fetching Twitch emotes.

const clientId = '<your client id>';
const clientSecret = '<your client secret>';

const fetcher = new EmoteFetcher(clientId, clientSecret);

To create a Twitch app: https://dev.twitch.tv/console/apps/create
(Set the OAuth Redirect URLs to http://localhost)

2.3.2: Dependencies upgrade and a minor fix

25 May 20:17
Compare
Choose a tag to compare

Minor update that might be best for TypeScript users.

  • Bump eslint and jsdoc devDeps.
  • .json() throws a TypeError (#12 - @Killusions)

2.3.1: Replace deprecated dep and Twitch Global fallback

06 May 13:47
Compare
Choose a tag to compare

In this release, the deprecated dependencies request and request-promise have been replaced with sindresorhus/got.
A future release might make use of got's caching if proven useful.

A fallback has also been implemented when fetching Twitch's Global Emotes:

We've seen twitchemotes.com's API returning "channel not found" at multiple occasions (as of early May 2021).
A fallback system to a static json for the global emotes is in place, but if their service is down or not working you will not be able to fetch the list of emotes from a specific channel.
If you have an alternative API or some quick code to get them from Twitch directly, feel free to share in Issue #8.

BetterTTV and FrankerFaceZ are still working fine.

2.3.0: Support BTTV v3 API, support FFZ with Twitch IDs

25 Jan 18:23
Compare
Choose a tag to compare

BREAKING CHANGES: fetchBTTVEmotes takes the ID of the channel as a parameter instead of a string of the channel name.

2.2.0: Support TwitchEmote's v4 API, upgrade deps

11 Mar 19:29
Compare
Choose a tag to compare

The v3 API got shut down.
The default HTML template was also fixed.

BREAKING CHANGES: fetchTwitchEmotes takes the ID of the channel as a parameter instead of a string or array of strings with the channel name.