Closed Hay1tsme closed 9 years ago
That's because it is an object. You want to use something like:
var name = user["display-name"] || user["username"];
Refer to your duplicate post: https://github.com/twitch-irc/twitch-irc/issues/118#issuecomment-122632952
Thank you, sorry
I think I've already wrote about this... When trying to make a command to timeout users who say a certain word, I get [object Object] instead of their username
Here's the responce: