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
feat: add bttv/ffz emote support #59
Conversation
Yeah the rest of the PR looks good, I'll leave a few comments on the parsing to improve that.
Yes this is fine :)
I think putting them in the same model is fine. We can call it ThirdPartyEmotesModel or something. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good :) I think we should refactor the processing into the model in the future bc there's some benefits to that for future features, but that can be done in a separate PR. I'll take a look after this one gets in.
Nice work!
I actually asked about the function location because I was thinking on how to test it compared to the other parsing functions in this file. And there is some refactoring to be made to integrate these to the emote picker too. |
Ah yeah, I think testing becomes easier if this complex logic is refactored into the model. But y'know, merge first think later. Lots of people will be very happy with BTTV support :) |
This adds support for BTTV emotes for chat history.