Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote twitch emote API #2828

Merged
merged 3 commits into from
Dec 10, 2023
Merged

Remote twitch emote API #2828

merged 3 commits into from
Dec 10, 2023

Conversation

jutonz
Copy link
Owner

@jutonz jutonz commented Dec 10, 2023

Previously we used twitchemotes.com to fetch data about each twitch emote as it was used. This stopped working at some point, probably because they changed their (undocumented) API somehow.

Turns out we actually don't need to use that service anyway, since the only info we need is the ID and the code, both of which are present in the chat message. So in this PR I remove that and update the chat parser to extract twitch emotes automatically.

This should address one of the more common sentry errors we're seeing and hopefully do a better job of keeping us well beneath our error limit there.

we just need the code and the ID, which are already present in the chat
message. There's no need to perform an API call
@jutonz jutonz merged commit e8ee825 into main Dec 10, 2023
5 checks passed
@jutonz jutonz deleted the jt-remove-emoteapi branch December 10, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant