Which username should we parse to find the users display name?

IRC:

To get the users display name should we:
parse the display-name tag
or
parse it out of the :twitch_username!twitch_username@twitch_username.tmi.twitch.tv in the message

If you want to pull their username with their chosen capitalization/localization, then use the display-name tag.

If you want just their twitch username without any of that, you can pull the twitch_username from the IRC as you’ve indicated.

My username for example:
display-name=Larklen
twitch_username:larklen

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.