This CL adds a new field called Positions to the Emote struct. Positions is a list of EmotePosition, which marks the start and end character of an emote, as sent by the Twitch API.
This allows for downstream consumers of this library to quickly replace emotes in text, without the need to parse/regex the message string.
Coverage decreased (-0.4%) to 98.39% when pulling 91f7dc14e694322786a02213315f85804d6f801f on Cidan:master into 2ffb3958f61a48f355e20b1c5b8eb6778e4a1742 on gempir:master.
This CL adds a new field called Positions to the Emote struct. Positions is a list of EmotePosition, which marks the start and end character of an emote, as sent by the Twitch API.
This allows for downstream consumers of this library to quickly replace emotes in text, without the need to parse/regex the message string.