您如何使用node-irc登录? [英] How do you login with node-irc?
本文介绍了您如何使用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>
我能找到的最接近的是
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');
但似乎都无法完成工作.
but neither seems to get the job done.
推荐答案
client.say("nickserv", "identify <pword>");
不起作用? API 说应该.
client.say("nickserv", "identify <pword>");
doesn't work? The API says it should.
这篇关于您如何使用node-irc登录?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文