Provide Cheermote and Emotes information for EventSub Cheer Events
When viewers cheer, they use cheermotes and commonly emotes in their cheer messages. Unfortunately, the payload received from EventSub's channel.cheer
callbacks only have the raw text as entered by the user, with no indiciation of which portions of that text are cheermotes nor emotes. Thus, I propose the following update to the callback payload, similar to the channel.subscription.message
event, that passes along the data for both so that a consumer of EventSub can reconstruct the message:
{
"subscription": {
...
},
"event": {
...
"message": {
"text": "Rah Rah Cheer! cheerwhal1 Cheer100 notACheer101 finite6ThrowBall",
"cheermotes": [
{
"begin": 16,
"end": 26,
"prefix": "cheerwhal"
"id": "1"
},
{
"begin": 27,
"end": 34,
"prefix": "Cheer"
"id": "100"
}
],
"emotes": [
{
"begin": 48,
"end": 64,
"id": "emotesv2_4133039724974aa59589549eae677d03"
}
]
},
...
}
}

-
FiniteSingularity commented
No problem. For those of us who make overlays, etc.. it would make grabbing emote/cheermote info much more straightforward/possible. I also opened a similar request for emote info for EventSub Custom Channel Point Redemptions (I made it a separate issue as this one seemed a bit more involved- including the cheermote data). I'd love to see both subscriptions include the missing (emote/cheermote) data.
-
Adminecressey (Admin, Twitch) commented
Thank you for the feature enhancement request. We will consider this request. Given the nature of the change, this would likely require us to create v2 for the channel.cheer subscription type.