Skip to content
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

adds MsgParamOriginId to GiftedSubscription model #267

Merged
merged 2 commits into from
Sep 6, 2024

Conversation

swiftyspiffy
Copy link
Member

This PR adds support for MsgParamOriginId to the GiftedSubscription model.

@badge-info=founder/122;badges=staff/1,moderator/1,founder/0,sub-gifter/300;color=#FF3AE9;display-name=swiftyspiffy;emotes=;flags=;id=26dd4088-9efb-49bf-8fcc-32d04d530bd3;login=swiftyspiffy;mod=1;msg-id=subgift;msg-param-gift-months=1;msg-param-goal-contribution-type=SUB_POINTS;msg-param-goal-current-contributions=2749;msg-param-goal-target-contributions=2600;msg-param-goal-user-contributions=1;msg-param-months=78;msg-param-origin-id=17946483715777061145;msg-param-recipient-display-name=BleuBelladonna;msg-param-recipient-id=75543494;msg-param-recipient-user-name=bleubelladonna;msg-param-sender-count=310;msg-param-sub-plan-name=The\sPirate's\sSubscription;msg-param-sub-plan=1000;room-id=44338537;subscriber=1;system-msg=swiftyspiffy\sgifted\sa\sTier\s1\ssub\sto\sBleuBelladonna!\sThey\shave\sgiven\s310\sGift\sSubs\sin\sthe\schannel!;tmi-sent-ts=1725613193963;user-id=40876073;user-type=staff;vip=0 :tmi.twitch.tv USERNOTICE #burkeblack

For the subgift this is the only indicator of a gifted sub being part of a bulk gift sub event. So, devs can use this parameter to avoid spamming chat with a message for each individual user receiving a gifted sub.

@swiftyspiffy swiftyspiffy merged commit 5ef35d5 into dev Sep 6, 2024
1 check passed
@swiftyspiffy swiftyspiffy deleted the fix/GiftedSubscriptionOriginId branch September 6, 2024 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants