...
 
Commits (2)
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
flask = "*"
flask-ask = "*"
[requires]
python_version = "3.6"
......@@ -36,10 +36,27 @@ def launch_question():
@ask.intent("AMAZON.YesIntent")
def random_jilk():
return question(f"{_get_random_listing()}. Would you like to hear another server?").reprompt(
f"Sorry, I don't understand, {jilk_view_question} again?"
return question(
f"{_get_random_listing()}. Would you like to hear another server?"
).reprompt(f"Sorry, I don't understand, {jilk_view_question} again?")
@ask.intent("AMAZON.CancelIntent")
def cancel_skill():
return statement("Cancelling request, sorry to see you go.")
@ask.intent("AMAZON.HelpIntent")
def help_user():
return question(
f"This skill can simply be used by saying the word yes. So then, {jilk_view_question}?"
)
@ask.intent("AMAZON.ExitIntent")
def exit_skill():
return statement("Sorry to see you go.")
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8084)