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:
parent
17fb41f083
commit
46da3ee4ee
6 changed files with 59 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue