tmi.js
tmi.js copied to clipboard
IRC tags with a value of 0 or 1 are ALWAYS converted to a boolean
https://github.com/tmijs/tmi.js/blob/ddced239bfce21a7618f8655b827cb52a78acd8e/lib/client.js#L92-L105
In some cases the original tag value is an actual integer, not a boolean. For example a resubscribe for 1 cumulative months. This is returned as a true value, which is surprising.