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

Missing default value for tag msg-param-sender-count #215

Open
Larandar opened this issue Sep 29, 2024 · 2 comments
Open

Missing default value for tag msg-param-sender-count #215

Larandar opened this issue Sep 29, 2024 · 2 comments

Comments

@Larandar
Copy link
Contributor

Since a few days I get the following error from time to time from twitch:

2024-09-29T09:00:17.760002Z ERROR client_loop:connection:main_loop: twitch_irc::connection::event_loop: Failed to parse incoming message as ServerMessage (emitting as generic instead): Could not parse IRC message @subscriber=1;user-type=;msg-param-sub-plan=1000;login=twitch;badge-info=subscriber/2;msg-param-mass-gift-count=1;room-id=241636;system-msg=We\sadded\s1\sGift\sSubs\sto\sMobbatFol's\sgift!;user-id=12826;badges=subscriber/2,gold-pixel-heart/1;flags=;tmi-sent-ts=1727600417671;msg-param-origin-id=3967552525803674582;msg-id=submysterygift;msg-param-gift-match-bonus-count=1;msg-param-gift-match-extra-count=0;msg-param-community-gift-id=3967552525803674582;emotes=;color=#8A2BE2;msg-param-gift-match-gifter-display-name=MobbatFol;vip=0;mod=0;id=5b9a3135-10f4-4c77-96b9-f6d9edf66731;display-name=Twitch;msg-param-gift-match=bonus :tmi.twitch.tv USERNOTICE #dunkorslam as ServerMessage: No tag present under key `msg-param-sender-count` id=0
@Larandar Larandar changed the title Missing default value for tag Missing default value for tag msg-param-sender-count Sep 29, 2024
@Larandar
Copy link
Contributor Author

After investigation and testing, it seems that it happens only when Twitch gift sub during SUBtember; I proposed a PR that handles it as a pure edge case

@RAnders00
Copy link
Collaborator

Thank you for the bug report!

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

No branches or pull requests

2 participants