teraa / IrcMessageParser

IRC Message Parser
MIT License
2 stars 0 forks source link

Parser ignores prefix #2

Closed bugproof closed 3 years ago

bugproof commented 3 years ago

Hi, I wanted to use it for my twitch chatbot but the parser ignores prefix completely i.e.

:[user]![user]@[user].tmi.twitch.tv PRIVMSG # :This is a sample message

The bold part is completely ignored.

teraa commented 3 years ago

Hi, I've added a new record type MessagePrefix which contains relevant information from the prefix. The prefix was previously contained unparsed in the Hostmask property of the message.

The update addressing this is available as a preview package, version 2.0.0-alpha.46 on both GitHub Packages and NuGet.

bugproof commented 3 years ago

Thanks it works now(: The Hostmask previously was null for me.