Hey everyone.
I’m having an issue with my bot where some of the users that talk in the chat haven’t a “display-name” and “emotes” field on the tags response.
It’s only happening with this user, it gets the display-name and emotes field for everyone else.
Does it have to be with an issue that Twitch might be going through or am I missing something?
As Barry mentioned, if display-name is blank, like in your example, than the user never set it. In that case you can assume it to start with a capital letter and the rest lowercase.
if there’s no other way around I’ll have to make it check if it outputs an empty string from display-name field and get the name from the :user!user@tmi.twitch.tv part.