Usage of client-nonce tag to pass data

Hi,

I’m the developer of a third-party extension on Twitch. I’ve been exploring the possibility of using the client-nonce IRC tag for a feature, as a way to pass arbitrary data across to other clients. Does Twitch have a specific stance regarding the usage of this tag, or is it OK to use?

1 Like

A nonce is only returned to the sending client, not other clients iirc.

And your attempted use case is a bending of a rule on what nonce’s are for. But sure you could use it to relay data. It might get weird if two nonces you send at the same nonce…

A nonce is only returned to the sending client, not other clients iirc.

False, client-nonce is returned in the PRIVMSG messages as a message tag. That’s why usage of that client-nonce tag is sort of solution to send “metadata” about the message.

Ah yeah was thinking about .deletes and .bans rather than privmsg’s

as those tack on in the “response” notice