IRC UserNotice showing duplicate resubs

Hi!
I’m not sure if i’m missing something obvious but I can’t find the answer anywhere.
My issue is that every now and then the same resub UserNotice pops up twice in IRC, Same user, Same channel, Same resub months, Sometimes there’s a small difference between them like msg-param-should-share-streak is set to 0 and in the second one is set to 1, Sometimes it’s the exact same alert, But each one has a unique id.
Here are some examples of duplicates i was able to catch yesterday:

2019-06-10T20:20:00.451Z: @badge-info=subscriber/4;badges=subscriber/3,premium/1;color=;display-name=azuhrod;emotes=;flags=;id=db16a635-2c33-4f52-a11d-eb7519659895;login=azuhrod;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=azuhrod\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths!;tmi-sent-ts=1560198000033;user-id=411263859;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T20:20:10.572Z: @badge-info=subscriber/5;badges=subscriber/3,premium/1;color=;display-name=azuhrod;emotes=;flags=;id=7283f9a1-a3ac-4cfc-9225-4325030592cc;login=azuhrod;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=azuhrod\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths!;tmi-sent-ts=1560198010157;user-id=411263859;user-type= :tmi.twitch.tv USERNOTICE #gotaga

2019-06-10T20:22:38.275Z: @badge-info=subscriber/4;badges=subscriber/3,premium/1;color=;display-name=jemjem_95;emotes=;flags=;id=a1dbfbeb-239a-4075-bc4d-277da4ae69c9;login=jemjem_95;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=jemjem_95\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths!;tmi-sent-ts=1560198157843;user-id=149642801;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T20:23:27.619Z: @badge-info=subscriber/5;badges=subscriber/3,premium/1;color=;display-name=jemjem_95;emotes=;flags=;id=e7e535b9-b93e-4ca2-b6a0-482667e377ec;login=jemjem_95;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=1;msg-param-streak-months=5;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=jemjem_95\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths,\scurrently\son\sa\s5\smonth\sstreak!;tmi-sent-ts=1560198206976;user-id=149642801;user-type= :tmi.twitch.tv USERNOTICE #gotaga :Toujours un plaisir vos lives, profitez bien à LA !

2019-06-10T21:08:14.060Z: @badge-info=subscriber/1;badges=subscriber/0,premium/1;color=#D2691E;display-name=Benico06;emotes=;flags=;id=dbdf7d86-7b2e-4829-bd0f-3b3b5622e2cd;login=benico06;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=Benico06\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s2\smonths!;tmi-sent-ts=1560200893493;user-id=47293710;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T21:08:32.832Z: @badge-info=subscriber/2;badges=subscriber/0,premium/1;color=#D2691E;display-name=Benico06;emotes=;flags=;id=80c59a76-299a-4ce9-bd12-48b21f26fd63;login=benico06;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-should-share-streak=1;msg-param-streak-months=1;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=Benico06\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s2\smonths,\scurrently\son\sa\s1\smonth\sstreak!;tmi-sent-ts=1560200912437;user-id=47293710;user-type= :tmi.twitch.tv USERNOTICE #gotaga

2019-06-10T21:16:10.505Z: @badge-info=subscriber/4;badges=subscriber/3,premium/1;color=;display-name=Yumb0;emotes=;flags=;id=fbf2f525-a15e-44e8-a964-27b33d5f2a67;login=yumb0;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=Yumb0\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths!;tmi-sent-ts=1560201370102;user-id=78098049;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T21:16:20.626Z: @badge-info=subscriber/5;badges=subscriber/3,premium/1;color=;display-name=Yumb0;emotes=;flags=;id=5f29d375-16b0-47a1-8f3f-f330d592b4a5;login=yumb0;mod=0;msg-id=resub;msg-param-cumulative-months=5;msg-param-months=0;msg-param-should-share-streak=1;msg-param-streak-months=5;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=Yumb0\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s5\smonths,\scurrently\son\sa\s5\smonth\sstreak!;tmi-sent-ts=1560201380215;user-id=78098049;user-type= :tmi.twitch.tv USERNOTICE #gotaga

2019-06-10T21:56:05.999Z: @badge-info=subscriber/3;badges=subscriber/3,premium/1;color=#FF0000;display-name=ICI_OU_LA_BAS;emotes=;flags=;id=a63e9533-d819-4983-88a5-89f15fec955f;login=ici_ou_la_bas;mod=0;msg-id=resub;msg-param-cumulative-months=4;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=ICI_OU_LA_BAS\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s4\smonths!;tmi-sent-ts=1560203765505;user-id=158788134;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T21:56:58.351Z: @badge-info=subscriber/4;badges=subscriber/3,premium/1;color=#FF0000;display-name=ICI_OU_LA_BAS;emotes=;flags=;id=27224260-d70b-4220-8da8-eaecac2917f1;login=ici_ou_la_bas;mod=0;msg-id=resub;msg-param-cumulative-months=4;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=ICI_OU_LA_BAS\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s4\smonths!;tmi-sent-ts=1560203817958;user-id=158788134;user-type= :tmi.twitch.tv USERNOTICE #gotaga :twitch prime gotaga

2019-06-10T23:01:53.656Z: @badge-info=subscriber/1;badges=subscriber/0,premium/1;color=#FFFFFF;display-name=draftzed;emotes=;flags=;id=41212f2c-c691-4896-8f88-d31836bbe1d8;login=draftzed;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-should-share-streak=0;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=draftzed\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s2\smonths!;tmi-sent-ts=1560207713323;user-id=162152856;user-type= :tmi.twitch.tv USERNOTICE #gotaga
2019-06-10T23:02:20.508Z: @badge-info=subscriber/2;badges=subscriber/0,premium/1;color=#FFFFFF;display-name=draftzed;emotes=;flags=;id=075c1c67-f04a-451b-ab24-8984c6e8ca24;login=draftzed;mod=0;msg-id=resub;msg-param-cumulative-months=2;msg-param-months=0;msg-param-should-share-streak=1;msg-param-streak-months=1;msg-param-sub-plan-name=SUBSCRIBER;msg-param-sub-plan=Prime;room-id=24147592;subscriber=1;system-msg=draftzed\ssubscribed\swith\sTwitch\sPrime.\sThey've\ssubscribed\sfor\s2\smonths,\scurrently\son\sa\s1\smonth\sstreak!;tmi-sent-ts=1560207740025;user-id=162152856;user-type= :tmi.twitch.tv USERNOTICE #gotaga :yess

Am i doing something wrong? What’s the difference between the duplicates?

Thank you for your time!

The first is the user using their prime
The second is the user using the share dialog to share their resub (with prime) and a message.

1 Like

Ah, I see, Thank you very much for the help :slight_smile:
I don’t use prime so I’m not sure how it works, But I’m guessing that when someone uses it, the alert pops out automatically, then the user has the option to share it, correct?
I’m running an alert system, And it will only show the first alert, If it detects duplicates it won’t show the second one, But that way I won’t be able to display the message after they decide to share it, Is there a better way to handle this?

Thank you again for your time!

Yup

All personal preference here. And theres no real way to filter 'em out. You are always gonna lose the second one

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.