You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing TwitchPrivateMessage.parseEmotes(), the ParsedMessageEmotePart you get have their ids defined as a string, while ChatEmote's ids are number. This ends up making ChatEmote.getUrl() return NaN in the URL: https://static-cdn.jtvnw.net/emoticons/v1/NaN/3.0.
I implemented emotes v2 properly on the main branch and released it as version 5.0.0-pre.16.
There will be no fix for this in the 4.x branch as it's backwards incompatible.
When doing
TwitchPrivateMessage.parseEmotes()
, the ParsedMessageEmotePart you get have their ids defined as astring
, while ChatEmote's ids arenumber
. This ends up makingChatEmote.getUrl()
return NaN in the URL:https://static-cdn.jtvnw.net/emoticons/v1/NaN/3.0
.The
parseInt
here is likely the culprit.Environment
The text was updated successfully, but these errors were encountered: