vasani-arpit / WBOT

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

noMatch is showing up as an error #330

Closed upal212 closed 1 year ago

upal212 commented 2 years ago

Describe the bug Bot is not reading the values of "noMatch":"{Example reply}" from the bot.json file and shows up as 'Message doesn't have media or it is not enabled in bot.config.json'

To Reproduce Steps to reproduce the behavior:

  1. Message any random letters not matching to any of your set replies
  2. Click on 'Bot' cmd/terminal
  3. See the error

Expected behavior Should be reading the values of 'noMatch' from the bot.json file as per the previous version(s).

Screenshots https://imgur.com/a/3c18qnz

App information (please complete the following information):

vasani-arpit commented 2 years ago

Thanks for reporting. Will check.

vasani-arpit commented 1 year ago

@upal212 #331 is merged. Please try v0.30.0 Reopen if issue persists.