modularize ffz emote url list (ID change unpredictable)
This commit is contained in:
parent
c959726bf1
commit
d9e16f0a2f
1 changed files with 4 additions and 2 deletions
|
@ -54,8 +54,10 @@ export default async function handler(
|
|||
channel: (await getBTTVUser(redis, "56418014")).channelEmotes,
|
||||
},
|
||||
ffz: {
|
||||
global: ffzGlobal.sets["3"].emoticons.concat(
|
||||
ffzGlobal.sets["4330"].emoticons
|
||||
// concat all emoticons in the ffzGlobal.sets json keys
|
||||
global: Object.values(ffzGlobal.sets).reduce(
|
||||
(acc: any, cur: any) => acc.concat(cur.emoticons),
|
||||
[]
|
||||
),
|
||||
channel: (await getFFZEmoteSet(redis, "341402")).set.emoticons,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue