Skip to content
New issue

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

Error client.say(nick, "record\\w3xp\\random\\wins"); #369

Closed
anonprophet opened this issue May 19, 2015 · 4 comments
Closed

Error client.say(nick, "record\\w3xp\\random\\wins"); #369

anonprophet opened this issue May 19, 2015 · 4 comments

Comments

@anonprophet
Copy link

i want whisper record\w3xp\random\wins
so my code is
client.say(nick, "record\\w3xp\\random\\wins");

but its give me error

/home/csonline/anonprophet/node_modules/irc/lib/irc.js:748
                        throw err;
                              ^
Error: Uncaught, unspecified "error" event.
    at Error (native)
    at Client.emit (events.js:87:13)
    at Client.<anonymous> (/home/csonline/anonprophet/node_modules/irc/lib/irc.js:590:26)
    at Client.emit (events.js:107:17)
    at iterator (/home/csonline/anonprophet/node_modules/irc/lib/irc.js:745:26)
    at Array.forEach (native)
    at Socket.<anonymous> (/home/csonline/anonprophet/node_modules/irc/lib/irc.js:740:15)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
@anonprophet
Copy link
Author

anyone pliz can fix this ?
my bot often use that command.

i think bcoz the string contain \r

@kegsay
Copy link

kegsay commented Jun 22, 2015

Please read https://github.com/martynsmith/node-irc#help---it-keeps-crashing

You need to add a listener for error.

@DingGGu
Copy link

DingGGu commented Jan 5, 2016

client.send("set", "record\\w3xp\\random\\wins");

@jirwin
Copy link
Collaborator

jirwin commented Jan 29, 2016

Closing this for now. If you are still having trouble with this, please report back with the actual error you see.

@jirwin jirwin closed this as completed Jan 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants