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

Inaccurate intent_file_handler docs #6

Closed
ndarilek opened this issue May 2, 2018 · 1 comment
Closed

Inaccurate intent_file_handler docs #6

ndarilek opened this issue May 2, 2018 · 1 comment

Comments

@ndarilek
Copy link

ndarilek commented May 2, 2018

From https://mycroft.ai/documentation/padatious/:

The register_intent_file(intent_file, handler) methods arguments are:

intent_file: the filename of above mentioned intent files without the .intent as argument.

Yet, in my skills:

@intent_file_handler("stop.info")

doesn't work, I have to add the .intent extension.

@MatthewScholefield
Copy link
Collaborator

Thanks for finding this issue with the documentation. I've just update that line so that it now says "with the .intent".

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

2 participants