Skip to content

Commit

Permalink
refactor: add modifier property to bttv fragments
Browse files Browse the repository at this point in the history
  • Loading branch information
6lr61 committed Sep 18, 2024
1 parent cd32024 commit 5b01a4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hooks/useBttvEmotes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ interface BetterTTVEmoteFragment {
text: string;
animated: boolean;
global: boolean;
modifier: boolean;
owner?: {
login: string;
name: string;
Expand Down Expand Up @@ -55,6 +56,7 @@ function makeBttvFragments(
text: emote.code,
animated: emote.animated,
global: global ?? false,
modifier: emote.modifier ?? false,
owner: emote.user && {
login: emote.user.name,
name: emote.user.displayName,
Expand Down

0 comments on commit 5b01a4f

Please sign in to comment.