The example code is outdated to some degree.
The example code uses tmi.js you may want to refer to the tmi.js documentation for further help
The example code is outdated to some degree.
The example code uses tmi.js you may want to refer to the tmi.js documentation for further help