Plugins: Add access to Tags in relevant delegates.
The current .net plugin API does not expose the tags ( if any ) associated with a Message. Its certainly possible to parse RawMessage to get access to them but it'd be more natural to simply access them from the Delegate itself.
Updated by Stefan van Oudenaarden 9 months ago
Currently I hook into OnRawData and pass the data to a class that parses out the various elements. Tags end up in a Dictionary<string,string>. However OnRawData rightfully does not have any Return Eat options so I cannot "edit" anything there.
Right now I need to store my IrcMessage object, wait for the corrosponding OnMessage to fire and then I can finally access the Tags dict there. Ideally I'd prefer the Delegate for events that can have Tags associated with them to have an additional Paramater, probably a Dict<string,string> for the Tags sent along with it.
In this specific case I'm trying to find the twitch badges tag and insert additional information in a Message based on that information.