Releases: mkody/twitch-emoticons
2.6.2: Maintenance release
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
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
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
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
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
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
Minor update that might be best for TypeScript users.
- Bump
eslint
andjsdoc
devDeps. - .json() throws a TypeError (#12 - @Killusions)
2.3.1: Replace deprecated dep and Twitch Global fallback
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
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
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.