Search code examples
node.jsirc

How do you login with node-irc?


It is extremely easy to setup and it works fine. But nowhere in the documentation does it say how to

/msg nickserv identify <pword>

The closest I could find was

client.join('#yourchannel yourpass');

or maybe

For any commands that there aren’t methods for you can use the send() method which sends raw messages to the server
client.send('MODE', '#yourchannel', '+o', 'yournick');

but neither seems to get the job done.


Solution

  • client.say("nickserv", "identify <pword>"); doesn't work? The API says it should.