Closed Tehnix closed 6 years ago
Actually, because of the way you just parse all options into JSON, it is already supported, just not documented.
From http://node-irc.readthedocs.io/en/latest/API.html#client you can see the options you need. My What I do
string ended up looking like,
{
"server": "irc.freenode.net",
"port": 6697,
"userName": "NICKNAME",
"nsPassword": "PASSWORD",
"sasl": true,
"nick": "NICKNAME",
"password": "PASSWORD",
"realName": "MY REAL NAME",
"secure": true
}
This should probably be documented. I'll add a PR.
To connect to Freenode from an AWS instance, you need to identify via SASL. Is this supported currently, or would it be something that would be fairly trivial to add?