Webhook: A URL which will be called for every message with payload data. If set to false, Bot will not reply if message received in group chat. IsGroupReply: whether to send replies in group or not. Apparently, Whatsapp doesn't allow headless instances. Headless: whether to start chrome as headless or not. This is where all the application related (node application behavior and such things) config will stay. Use VSCode or jsonlint to validate the JSON. Keep in mind that you need to restart the wbot to see the effects of your changes. You can change this config file as per your need. If you find any issues using them feel free to raise one from here Configurationsīasic configuration is in bot.json file like replying to Hi, hello and happy birthday. If you run Linux on a headless server or want to run chmomium without visible display try xvfb-run wbot-linux. Note: On Linux you need a running display server (X11 or Wayland).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |