We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i have pvpgn server (a server game), i want my bot use custom command /nullinfo
client.addListener('pm', function(nick, message) { //console.log('Got private message from %s: %s', nick, message); if (message == '!sd') { client.say(['#crew'], '/nullinfo long messages goes here'); }; });
but the code above just say in the channel '' /nullinfo statsdota update '' , how to make it send that command to server ?
something like /raw nullinfo in mIRC
/raw nullinfo
The text was updated successfully, but these errors were encountered:
You can access the underlying socket directly with client.conn. Then you can just do client.conn.write("nullinfo\r\n") and you should be all set
Sorry, something went wrong.
Please use Client.send as it is said to be better than Client.conn: https://node-irc.readthedocs.org/en/latest/API.html#Client.send
Please accept as a viable answer and close. Thanks!
+1
No branches or pull requests
i have pvpgn server (a server game), i want my bot use custom command
/nullinfo
but the code above just say in the channel '' /nullinfo statsdota update ''
, how to make it send that command to server ?
something like
/raw nullinfo
in mIRCThe text was updated successfully, but these errors were encountered: