Skip to content

Instantly share code, notes, and snippets.

@zneix
Created May 16, 2022 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zneix/c75c452090816b0cb4f6d8a141c7deaa to your computer and use it in GitHub Desktop.
Save zneix/c75c452090816b0cb4f6d8a141c7deaa to your computer and use it in GitHub Desktop.
complex channel point reward redemption
{
"raw": "@badge-info=subscriber/22;badges=broadcaster/1,subscriber/18,glhf-pledge/1;color=#F97304;custom-reward-id=747ba161-042c-4d0f-80fd-6c95ff7dbcb1;display-name=zneix;emotes=;first-msg=0;flags=;id=cff3c912-26e0-42dd-a0dc-72f143997562;mod=0;room-id=99631238;subscriber=1;tmi-sent-ts=1652702824847;turbo=0;user-id=99631238;user-type= :zneix!zneix@zneix.tmi.twitch.tv PRIVMSG #zneix :12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890",
"prefix": "zneix!zneix@zneix.tmi.twitch.tv",
"user": "zneix",
"args": [
"#zneix",
"12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
],
"action": "PRIVMSG",
"tags": {
"badge-info": "subscriber/22",
"badges": "broadcaster/1,subscriber/18,glhf-pledge/1",
"color": "#F97304",
"custom-reward-id": "747ba161-042c-4d0f-80fd-6c95ff7dbcb1",
"display-name": "zneix",
"emotes": "",
"first-msg": "0",
"flags": "",
"id": "cff3c912-26e0-42dd-a0dc-72f143997562",
"mod": "0",
"room-id": "99631238",
"subscriber": "1",
"tmi-sent-ts": "1652702824847",
"turbo": "0",
"user-id": "99631238",
"user-type": ""
},
"timestamp": "2022-05-16T14:07:04.847+02:00"
}
{
"data": {
"redemption": {
"channel_id": "99631238",
"cursor": "N2UzZWI5YWMtMTAwNy00MWQ4LThiNTEtODYxMDczMWE1NWMyX18yMDIyLTA1LTE2VDEyOjA3OjA0LjczNTUxMzQ5NVo=",
"id": "7e3eb9ac-1007-41d8-8b51-8610731a55c2",
"redeemed_at": "2022-05-16T12:07:04.735513495Z",
"reward": {
"background_color": "#D1B3FF",
"channel_id": "99631238",
"cooldown_expires_at": null,
"cost": 1,
"default_image": {
"url_1x": "https://static-cdn.jtvnw.net/custom-reward-images/default-1.png",
"url_2x": "https://static-cdn.jtvnw.net/custom-reward-images/default-2.png",
"url_4x": "https://static-cdn.jtvnw.net/custom-reward-images/default-4.png"
},
"global_cooldown": {
"global_cooldown_seconds": 0,
"is_enabled": false
},
"id": "747ba161-042c-4d0f-80fd-6c95ff7dbcb1",
"image": null,
"is_enabled": true,
"is_in_stock": true,
"is_paused": false,
"is_sub_only": false,
"is_user_input_required": true,
"max_per_stream": { "is_enabled": false, "max_per_stream": 0 },
"max_per_user_per_stream": {
"is_enabled": false,
"max_per_user_per_stream": 0
},
"prompt": "if you read this type ZULUL",
"redemptions_redeemed_current_stream": null,
"should_redemptions_skip_request_queue": false,
"template_id": null,
"title": "vi von",
"updated_for_indicator_at": "2022-05-02T11:10:14.152590124Z"
},
"status": "UNFULFILLED",
"user": {
"display_name": "zneix",
"id": "99631238",
"login": "zneix"
},
"user_input": "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"
},
"timestamp": "2022-05-16T12:07:04.735513495Z"
},
"type": "reward-redeemed"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment