Hi guys. I can't seem to find a hook for when a chat message is sent. Is there one that I'm not noticing? Thanks for the hep.
@LukeLaupheimer don't think there is one
@pichalite How hard would it be to add one? Could I just write the code and put in a pull request or is it just... way more elaborate than that?
@LukeLaupheimer actually try this hook. I think this gets called on chat messages too. You need to check for data.module = 'chat'
data.module = 'chat'
@pichalite I just tried it. Unfortunately, it didn't activate when I sent a message to my test account. (I had console.log dump out whatever the first param was)
This would've been great if it solved the problem, too.