Fix Betterttv and update endpoint#156
Merged
Merged
Conversation
Cynosphere
suggested changes
Sep 8, 2025
| file.CreateDir(FOLDER, "DATA") | ||
|
|
||
| local LOOKUP_TABLE_URL = "https://api.betterttv.net/2/emotes" | ||
| local LOOKUP_TABLE_URL = "https://api.betterttv.net/3/emotes/shared/top?limit=100" |
Contributor
There was a problem hiding this comment.
https://api.betterttv.net/3/cached/emotes/global is the correct API for BTTV global emotes.
Contributor
Author
There was a problem hiding this comment.
Global is a tiny list that literally only has one animated emote, I did this because it's more inclusive to emotes people actually use. The top shared emotes are pretty much global, just not marked global. Most of the actual global emotes aren't emotes people use at all as it's mostly a legacy list. The top shared emotes better represent the emojis people actual use.
Cynosphere
approved these changes
Sep 8, 2025
… to process a gif when overloaded from the emote picker
Earu
pushed a commit
that referenced
this pull request
Jul 4, 2026
* Fix betterttv * Cache betterttv framerate * Minor mistake * Just remove attempt limit, endpoint is sometimes taking over a minute to process a gif when overloaded from the emote picker * Double delay between requests * Include global as well * Wrong endpoint
Earu
pushed a commit
that referenced
this pull request
Jul 4, 2026
* Fix betterttv * Cache betterttv framerate * Minor mistake * Just remove attempt limit, endpoint is sometimes taking over a minute to process a gif when overloaded from the emote picker * Double delay between requests * Include global as well * Wrong endpoint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the sprays.xerasin.com endpoint to the new legacy endpoint created for EasyChat. Also, replaced the API to get the emote list since it no longer functions.