设置非常简单,而且运行良好。但是文档中没有任何地方说明如何
/msg nickserv identify <pword>
我能找到的最接近的是
client.join('#yourchannel yourpass');
或者也许
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');
但似乎都没有完成工作。
最佳答案
client.say("nickserv", "identify <pword>");
不起作用? API说应该。
关于node.js - 你如何使用 node-irc 登录?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14596110/