Open itsfolf opened 8 years ago
How can I get in what channel a message was received in the "message" listener.
As per the docs you can do it as
handleMessageEvent(nick, to, text) { if (to.indexOf('#') === 0) // it's a channel message, to has the channel name // ... } client.addListener('message', handleMessageEvent);
How can I get in what channel a message was received in the "message" listener.