Closed Diego-Schmidt closed 3 years ago
Will test and get back to you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
"contains": ["word1","word2"], is not working in my WBOT installation. Bot is not replying to key words. "exact" is working fine.
Hi, Diego-Schmidt
Can you show your bot.json file ? In my projects, I use either contains or extra for a specific event , I do not use both of them for one operation.
It's work for me:
Try to separate words between using "|"
"contains":["hello|hi|ciao"], "exact":[], - must be empty, "response": "Hi, how are you?"
,
Let me know if it helped
I will run tests
Contains is in the format that came with the default bot.js file. { "contains": ["janmdin","hardik","shubhkaamna"], "exact": [], "response": "aabhar 🙏" },
I have tested the bot with a clean bot.json and containst is working @_@ I don't know what error caused the bot to stop working.
Closing this for now. Feel free to open if it happens again.
"contains": ["word1","word2"], is not working in my WBOT installation. Bot is not replying to key words. "exact" is working fine.