vasani-arpit / WBOT

A simple Web based BOT for WhatsApp™ in NodeJS 😜. Working as of 📅 Feb 4th, 2024
Other
986 stars 314 forks source link

Webhook is responding to messages from the group even if disabled. #197

Closed antoniorrm closed 3 years ago

antoniorrm commented 3 years ago

Describe the bug Webhook is responding to messages from the group even if disabled

To Reproduce Steps to reproduce the behavior:

  1. Go to open bot

    • Latest Version in Branch development

Additional context I am using the documentation sample server

antoniorrm commented 3 years ago

{ "appconfig": { "headless": false, "isGroupReply":false, "webhook":"http://localhost:3001/api/incoming-webhook" }, "bot": [{ "contains": [], "exact": ["hi"], "response": "{hello|howdy}" }, { "contains": [], "exact": ["hello"], "response": "hi", "file":"noFile.png" }, { "contains": [], "exact": ["hy"], "response": "hi", "file":"github.png" }, { "contains": [], "exact": ["hiee"], "response": "hi" }, { "contains": [], "exact": ["hey"], "response": "hi" }, { "contains": ["michhami","dukkadam"], "exact": [], "response": "Michhami Dukkadam 🙏" }, { "contains": ["happy","birthday","bday"], "exact": [], "response": "Thank you" }, { "contains": [], "exact": ["how are you"], "response": "i am {good {thanks| thank you}|great}. How about you?" }, { "contains": [], "exact": ["hbd"], "response": "Thank you" }, { "contains": ["શુભકામના","જન્મદિન"], "exact": [], "response": "આભાર 🙏" }, { "contains": ["janmdin","hardik","shubhkaamna"], "exact": [], "response": "aabhar 🙏" }, { "contains": [], "exact": ["github"], "response": "Git Hub Logo", "file":"{github.png|github-two.png}" } ], "blocked": [], "noMatch":"{}", "smartreply":{ "suggestions":["Hello", "Welcome to my store !!", "Thanks for reaching out 🙏"], "clicktosend":true } }

my bot.json

stale[bot] commented 3 years ago

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.

antoniorrm commented 3 years ago

Open again