-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello, I just want to make sure I'm setting this up right, because it doesn't seem to be giving any responses, though I get what I inputted into my api.ai bot.
I put the API_AI_CLIENT_ACCESS_TOKEN and the token into bin/hubot file, with a line export API_AI_CLIENT_ACCESS_TOKEN=abc123
I have a script.coffee that looks like this
robot.on "greeting", (msg) ->
res.reply "Hi! To find out what I can do, say @bot display help. You can simply highlight that and quote it back to me as well."
In my api.ai there is an intent greeting, with hi recognized, and hi as a response. Do I just put all the dialogue that I want it to say in the api.ai and not have any conversation type stuff in the script?
When I boot up hubot with my adapter for discourse, I get this error
[Sat Mar 03 2018 19:32:29 GMT+0000 (UTC)] INFO Constructor
[Sat Mar 03 2018 19:32:29 GMT+0000 (UTC)] INFO Run
[Sat Mar 03 2018 19:32:29 GMT+0000 (UTC)] ERROR Not enough parameters provided. I need a username, key, and server