Sent-ts and tmi-sent-ts tags?

Also, I don’t know what language you’re using for your bot if that’s what you’re even making, but this is what I use for BotOnFire to parse that metadata and turn it into a JavaScript object. Sorry for the mess as it’s compiled CoffeeScript

parseUserData = function(string) {
      var splitDataArray, toReturn;
      toReturn = {};
      splitDataArray = string.split(';');
      splitDataArray.forEach((function(_this) {
        return function(item) {
          var key, kvSplit, value;
          kvSplit = item.split('=');
          key = kvSplit[0];
          value = kvSplit[1];
          return toReturn[key] = value;
        };
      })(this));
      return toReturn;
    };

Code released under CC BY 4.0
Author: Josh Ferrara (http://ferrara.space)

And here’s an example:

Edit: Also one last tip, don’t rely on display-name for the users name. Sometimes TMI will not include it, which to be honest, isn’t that surprising.