Replies: 2 comments
-
What is your intention with a dynamic JSON? I am currently modifying a project so that it initially has a hook in JS format. |
Beta Was this translation helpful? Give feedback.
-
WBOT is watching bot.json file so if you make a change in file then it will pick it up and update the responses in WA tab. the logic is written in this file https://github.com/vasani-arpit/WBOT/blob/master/src/settings.js With the help of webhook you will never need to update the json file. Here is documentation for webhook https://github.com/vasani-arpit/WBOT/blob/master/docs/Webhook-example.md |
Beta Was this translation helpful? Give feedback.
-
Hi!
It is possible to create a dynamic json file? I just found that this bot will only read an update of json file after restarting
Beta Was this translation helpful? Give feedback.
All reactions