Closed Jwiggiff closed 7 years ago
@Jwiggiff what version are you using? Since the cleverbot API is unreliable, only the latest version works. As of right now that is version 0.2.4.
@fojas i ran npm view cleverbot-node version
and it said 0.2.4
@fojas I'm getting the same issue.
var Cleverbot = require('cleverbot-node'); cleverbot = new Cleverbot; Cleverbot.prepare(function(){ cleverbot.write(cleverMessage, function (response) { console.log(response.message); }); });
returns just the in the log.
@Jwiggiff, @Jom3es12 The problem described seems like the issue that was fixed with release 0.2.4. Is the latest change in your project? What is the result of running grep "/webservicemin" ./node_modules/cleverbot-node/lib/cleverbot.js
? It should look like path: '/webservicemin?uc=321&',
@fojas i know this is really late but it says 'grep' is not recognized as an internal or external command
Sorry. I assumed you had grep installed. There has been another version released since this issue was opened. Can you try updating to the latest version?
@fojas i just updated, when I run npm view cleverbot-node version
it says 0.2.6, and it does not work.
It seems to work just fine for me now, I can't remember what I did but it works fine.
On Tue, Jan 24, 2017, 5:20 PM Jwiggiff notifications@github.com wrote:
i just updated, when I run npm view cleverbot-node version it says 0.2.6, and it does not work.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fojas/cleverbot-node/issues/22#issuecomment-274971321, or mute the thread https://github.com/notifications/unsubscribe-auth/ALPfxHXi9aeRyeL0lmDUgtaR6MQS1Rz6ks5rVocygaJpZM4LJsaW .
what version r u on @Jom3es12
I'm on 0.2.6
On Tue, Jan 24, 2017, 5:41 PM Jwiggiff notifications@github.com wrote:
what version r u on @Jom3es12 https://github.com/Jom3es12
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fojas/cleverbot-node/issues/22#issuecomment-274975205, or mute the thread https://github.com/notifications/unsubscribe-auth/ALPfxHTYn3H7TknGTpRBdngBae4hq4WSks5rVowQgaJpZM4LJsaW .
@fojas ??
Have you tried cleverbot.io?
On Tue, Jan 24, 2017, 5:59 PM Jwiggiff notifications@github.com wrote:
@fojas https://github.com/fojas ??
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fojas/cleverbot-node/issues/22#issuecomment-274978477, or mute the thread https://github.com/notifications/unsubscribe-auth/ALPfxK8yJqs0OKtxNSNkkbU6rdjQ1yacks5rVpBLgaJpZM4LJsaW .
@Jom3es12 I tried it but it was kind of wierd and I didn't like it. I really like this one. :)
Hey I fixed it! Basically my prepare function was empty then i had the write function later, I just put the write function in the prepare function and it worked.
Thanks All for the help!
{ message: '<html>', sessionid: '\n<head><title>404 Not Found</title></head>', logurl: '\n<body bgcolor="white">', vText8: '\n<center><h1>404 Not Found</h1></center>', vText7: '\n<hr><center>nginx/1.6.2 (Ubuntu)</center>', vText6: '\n</body>', vText5: '\n</html>', vText4: '\n' }