-
Notifications
You must be signed in to change notification settings - Fork 20
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
Investigate 01/15/15 Twitch changes #72
Comments
This is partially fixed; it works, but only for native emotes; will have to implement a special API for 3rd parties to add emotes. There is plenty to rework on this still, but it's at least part of the way there. |
Docs for the emotes API still needs to be done. [
{
text: 'text-to-put-in-chat-on-click',
channel: 'the channel it should be grouped under',
url: 'theEmote.jpg'
},
// ...
] Some sample code for BetterTTV I made shows the basic usage: function getter() {
var emotes = [];
var raw = BetterTTV.chat.store.bttvEmotes;
Object.keys(raw).forEach(function (key) {
var emote = raw[key];
emote.text = emote.regex;
// If not all emotes are usable, do that check here and
// only push if the emote can actually be used.
// ...
emotes.push(emote);
});
return emotes;
}
emoteMenu.registerEmoteGetter('BetterTTV', getter); |
Part of the sorting and how the emotes are being handed should be reworked to make it more clear. All this logic should be thrown in Get the emote handling reworked, then the |
8641b60 is what did the major rework on the emote portion. The UI will be handled separately. |
Reports of the emote menu not working have hit everywhere. Need to find out what Twitch changed that broke the addon.
This is very high priority--I am working on it!
Cross references:
night/betterttv#160
https://community.nightdev.com/t/chat-cant-be-read/2785/8?u=cletusc
The text was updated successfully, but these errors were encountered: