Description
I am not sure of the issue, but when I go through the irc client creation process and add the cap req:
ircClient.send('CAP REQ', 'twitch.tv/tags');
Then connect to the channel:
ircClient.join((userChannel), function () {
console.log('Connected to ' + userChannel);
chatTalk('/color hotpink');
chatAction('Hello Everybody! I\'m here to help. Type !help for commands.');
});
The following code, doesn't execute:
ircClient.addListener(('message' + userChannel), function (from, text, messageObject) {
console.log('got a message!');
console.log(from + ' => ' + userChannel + ': ');
console.log(text);
});
What I think is happening is that for some reason, the twitch cap req somehow stops the message event from being called, because RAW events still occur with the messages. I know I could probably just parse the raw event with the information I'd like, but I'd rather avoid doing that if possible, and there may be some real underlying issue here.
I'm sorry if this issue report is inadequate, I'm not entirely sure of GitHub convention.
Thank you,
- DigitalData