当前位置 : 主页 > 网页制作 > Nodejs >

node.js – 如何使用node-irc登录?

来源:互联网 收集:自由互联 发布时间:2021-06-16
设置非常简单,工作正常.但在文档中没有任何地方说它如何 /msg nickserv identify pword 我能找到的最接近的是 client.join('#yourchannel yourpass'); 或者可能 For any commands that there aren’t methods for yo
设置非常简单,工作正常.但在文档中没有任何地方说它如何

/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”,“识别< pword>”);不起作用? API说它应该.
网友评论