You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.
As you're using IRC to initially collect chat, you can actually enable IRCv3 tags for PRIVMSG and parse them for the correct name capitalization, and fetching the chatter's turbo and subscriber status for emulating chat just that little bit more.
First, send a CAP REQ :twitch.tv/tags to let the server know you understand the tags, then simply parse the new message, using the display-name, turbo and subscriber.
Before: :inanecandor!inanecandor@inanecandor.tmi.twitch.tv PRIVMSG #reninjakitteh :so far Kappa
After: @color=;display-name=InaneCandor;emotes=25:7-11;subscriber=0;turbo=0;user-type=;user_type= :inanecandor!inanecandor@inanecandor.tmi.twitch.tv PRIVMSG #reninjakitteh :so far Kappa
This is fully documented here and would be an awesome addition.
Thanks for making such a sweet and useful extension! Keep up the great work. :)
The text was updated successfully, but these errors were encountered:
Twitch did some changes related to this. Getting the EMOTESET using TWITCHCLIENT 3 does no longer work which forced me to use the new emote range supplied in the IRCv3 data (see b17f8d4). As a side effect, names should now be correctly capitalized (for messages as of today). Badges etc. will follow later.
As you're using IRC to initially collect chat, you can actually enable IRCv3 tags for PRIVMSG and parse them for the correct name capitalization, and fetching the chatter's turbo and subscriber status for emulating chat just that little bit more.
First, send a
CAP REQ :twitch.tv/tags
to let the server know you understand the tags, then simply parse the new message, using thedisplay-name
,turbo
andsubscriber
.Before:
:inanecandor!inanecandor@inanecandor.tmi.twitch.tv PRIVMSG #reninjakitteh :so far Kappa
After:
@color=;display-name=InaneCandor;emotes=25:7-11;subscriber=0;turbo=0;user-type=;user_type= :inanecandor!inanecandor@inanecandor.tmi.twitch.tv PRIVMSG #reninjakitteh :so far Kappa
This is fully documented here and would be an awesome addition.
Thanks for making such a sweet and useful extension! Keep up the great work. :)
The text was updated successfully, but these errors were encountered: