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

Missing "AnswerOnlyIntent" function within index.js #65

Closed
jcarrico opened this issue Apr 13, 2018 · 2 comments
Closed

Missing "AnswerOnlyIntent" function within index.js #65

jcarrico opened this issue Apr 13, 2018 · 2 comments

Comments

@jcarrico
Copy link

Had issue with Answer Only intent answers resulting in " Your score is 0" after answering the question correctly. Found index.js const triviaStateHandlers does not contain a function for the "AnswerOnlyIntent" Intent.

LN 288 - Needs additional function for "AnswerOnlyIntent"

Snippet added below "AnswerIntent" function:
"AnswerOnlyIntent": function () { handleUserGuess.call(this, false); },

This resolved so that an answer only, saying "four", allows for the number to be passed appropriately. Fixed my issue and now score is functioning as desired.

@neurogirl47
Copy link

neurogirl47 commented Oct 28, 2018

AnswerIntent function is not on Line 287. I am having trouble applying this fix.

@akersh-s
Copy link
Contributor

Fixed in update. closing.

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

3 participants