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,
|
channel: (await getBTTVUser(redis, "56418014")).channelEmotes,
|
||||||
},
|
},
|
||||||
ffz: {
|
ffz: {
|
||||||
global: ffzGlobal.sets["3"].emoticons.concat(
|
// concat all emoticons in the ffzGlobal.sets json keys
|
||||||
ffzGlobal.sets["4330"].emoticons
|
global: Object.values(ffzGlobal.sets).reduce(
|
||||||
|
(acc: any, cur: any) => acc.concat(cur.emoticons),
|
||||||
|
[]
|
||||||
),
|
),
|
||||||
channel: (await getFFZEmoteSet(redis, "341402")).set.emoticons,
|
channel: (await getFFZEmoteSet(redis, "341402")).set.emoticons,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue