1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-25 03:58:30 +00:00

4.0.0-rc4.6

* Fixed: Add support for Twitch's new emote data structure.
This commit is contained in:
SirStendec 2018-07-13 17:02:40 -04:00
parent 17fb41f083
commit 46da3ee4ee
6 changed files with 59 additions and 13 deletions

View file

@ -921,10 +921,10 @@ export const TwitchEmotes = {
priority: 20,
process(tokens, msg) {
if ( ! msg.emotes )
if ( ! msg.ffz_emotes )
return tokens;
const data = msg.emotes,
const data = msg.ffz_emotes,
emotes = [];
for(const emote_id in data)