Closed Glodenox closed 2 years ago
Decided against hiding emotes as these are much of the basis of Twitch.
For badges, it seems like it would only make sense to either show or not show them. The global badges can be retrieved from https://badges.twitch.tv/v1/badges/global/display?language=en. This should probably be retrieved on each page load. The channel-specific badges can be retrieved from https://badges.twitch.tv/v1/badges/channels/[channel-id-here]/display?language=en. The channel id is received from tmi.js in the state parameter with the name "room-id".
It is possible to show the emoticons as text or images, just like it is possible to show or hide badges.
Possible values for both: hide, show text, show image