An Azure Functions (FaaS) Serverless WhatsApp/SMS chatbot that leverages the Twilio API and a MongoDB backend to guide users through educational modules created by Health and Development in Guatemala, an Emory-based organization.
GNU General Public License v3.0
4
stars
1
forks
source link
Deleted HTTP stuffs, refactored folder structure, changed .js to .ts for sendMessage, and cleaned up code #18
The chatbot works as expected for the user even after our changes.
We do get a warning about dataConsent not existing for IUserState, and we are pretty sure this occurs here:
const manageKeywordSent = async function ( sentMessage: qs.ParsedQs, curUserState: IUserState, req: HttpRequest, ): Promise {
When the userState is null/ we have a new user
doesn't affect functionality, just leaving here as reference!!
:-D