Open hamptonmoore opened 7 years ago
I replaced * with my password
You dont need sasl to connect to gitter, you only need the server password. node-irc is not updated for long time and I dont think that you can set a server password.
you should check more updated package like this: https://github.com/caffeinery/coffea/tree/master
You absolutely can send a password with node-irc
https://github.com/martynsmith/node-irc/blob/master/lib/irc.js#L721
so remove the line "sasl: true," should solve ur problem.
{
"server": "irc.gitter.im",
"nick": "moshmage",
"channels": ["#yanbi/Lobby"],
"port": 6667,
"secure": true,
"password": "*"
}
secure
instead of sasl
So it is not working with gitter irc here is my code
var irc = require('irc'); var client = new irc.Client('irc.gitter.im', 'LilCoders-git', { channels: ['#lilcoders/lilcoders'], port: 6667, sasl: true, password: "*", }); client.addListener('message', function (from, to, message) { console.log(message); });