flask-ask
flask-ask copied to clipboard
Expose confirmationStatus of intent in session
To close #185
@ask.intent('HelloIntent')
def hello():
if session["dialogState"] != "COMPLETED":
return delegate()
if session["confirmationStatus"] == "DENIED":
return statement("Bye")
return statement("Hello")