tmi.js: Incorrect number of months on subs and resubs
Actual behaviour: “sub for 9 months” shows 0 for the number of months in the resub and sub events
Expected behaviour: It should show 9 months
A fix would be to change the property from msg-param-months to msg-param-cumulative-months, but I am not sure if this would work for all cases as I have yet to run into each case where months is provided.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (6 by maintainers)
@ak505188 This has been addressed for the upcoming v1.4. See https://github.com/tmijs/tmi.js/commit/6b1c25e00e311bbe0f2c132b47c82f34215e7810#diff-50cfa59973c04321b5da0c6da0fdf4feR619