-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add Emote support for Twitch emotes #4
Comments
Browserify above mentioned node package https://wzrd.in/standalone/twitch-emoticons@latest |
See @YannickFricke's (a.k.a. isEven 😉) solution on this one https://gist.github.com/YannickFricke/09b6d716fc6490b4ee6bf8d9ebc10cdd |
Let's do this easy peasy (at least for Twitch emotes)
(Thanks to @Flosing) |
Moved BTTV and FFZ to #16. |
There were still some problems with special character emotes (such as |
The
message.tag
object contains aemote
object with information about emotes in the message (id
of emote and start/end positions in themessage.message
string.Add support for Twitch emotes by adding a
TwitchEmote
component that can be passed theid
of the emote. Thisid
can then be used to fetch emote image path information via the Twitch API. Image (or handled error) should be returned.Next step is replacing the emote string (e.g.
KappaRoss
) by the before mentionedTwitchEmote
<img>
element.The text was updated successfully, but these errors were encountered: