superscript-websocket-demo
superscript-websocket-demo copied to clipboard
Empty replies
The bot only responds with empty replies to any query.
I parsed main.ss, checked data.json and it is populated, then ran the server with debug config.
It appears that the input "Hi" was successfully determined to be ~emohello. After which it gets a blank reply.
mquery find +464ms {} { fields: undefined }
GetReply Topics to check +31s []
Message Creating message from: +5ms
Message Callback Early, empty msg +0ms
User Updating History +4ms
Script Update and Reply to user 'b8DvDEYsrmYzAxFbAAAB' +479ms { replyId: undefined,
createdAt: Fri Nov 20 2015 11:42:52 GMT+0530 (IST),
string: '',
gambitId: undefined,
topicName: undefined,
subReplies: undefined }
Trying to figure out what went wrong. Even tried adding my own triggers, but everything gets a blank reply.
Replies are indeed empty. I also added empty basic triggers, did a "parse" and still replies were blank.
It could be that you are not giving the data.json to the botHandle function. Maybe you guys are forgetting this
TopicSystem.importerFile('./data.json', function(){...
Running into the same problem.
@worldofpiggy That is not in the steps, Where do you put that?