jovotech / jovo-framework

🔈 The React for Voice and Chat: Build Apps for Alexa, Messenger, Instagram, the Web, and more
https://www.jovo.tech
Apache License 2.0
1.67k stars 310 forks source link

:sparkles: Add isOneShot for Alexa request #1628

Open sadlowskij opened 3 months ago

sadlowskij commented 3 months ago

Proposed Changes

This adds a function to check for so called one shots. Is this something that would be useful? We sometimes differ how we answer depending on if it is a oneshot or not.

Theoretically this is not exclusive to the alexa platform and could just as well be implemented in the normal JovoRequest. I am not sure though, if this always makes sense, or if the terminology and usefulness binds this to alexa. Feel free to tell me if you find this useful, and if so, where.

Types of Changes

Checklist