Skip to content

Commit

Permalink
BTTV zero-width emotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fiszh committed Nov 4, 2024
1 parent 04620e8 commit 75934ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/channel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ let BTTVWebsocket;
let BTTVGlobalEmoteData = [];
let BTTVEmoteData = [];

const BTTVZeroWidth = ['cvHazmat', 'cvMask'];

//OTHER

let allEmoteData = [];

//ADDITIONAL
Expand Down Expand Up @@ -2376,7 +2380,8 @@ async function fetchBTTVGlobalEmoteData() {
emote_link: `https://betterttv.com/emotes/${emote.id}`,
original_name: emote?.codeOriginal,
creator: null,
site: 'Global BTTV'
site: 'Global BTTV',
flags: BTTVZeroWidth.includes(emote.code) ? 256 : undefined
}));
console.log(FgRed + 'Success in getting Global BetterTTV emotes!' + FgWhite)
} catch (error) {
Expand Down

0 comments on commit 75934ee

Please sign in to comment.