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

[Feature Requests] ideas #7

Open
hideokamoto opened this issue Aug 14, 2018 · 0 comments
Open

[Feature Requests] ideas #7

hideokamoto opened this issue Aug 14, 2018 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@hideokamoto
Copy link
Collaborator

resetAttributes()

reset all attributes.

function resetAttributes(handlerInput) {
    const attributes = handlerInput.attributesManager.getSessionAttributes();
    attributes = {}

    handlerInput.attributesManager.setSessionAttributes(attributes);
}
@hideokamoto hideokamoto added the help wanted Extra attention is needed label Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant