diff --git a/whatsapp-web.js/src/commands.md b/whatsapp-web.js/src/commands.md index a00a847..2333c16 100644 --- a/whatsapp-web.js/src/commands.md +++ b/whatsapp-web.js/src/commands.md @@ -3,7 +3,19 @@ *wg* -> Command wg help to get the avaialabe instructions *wg help* -> The following are the available commands: -*wg create -> creates a framework for the website after getting details of the website +*wg create -> creates a website without details + +# Note: +After the user uses *wg create *. The bot should instruct the user to enter the rest of the details. +To see the details to be entered, please check *website.js* under models folder. + +The commands should follow the rules below : +*wg website firstName* +*wg website lastName* +...etc + + + # Following commands only works when a website is created @@ -24,6 +36,12 @@ If a user created a product without a website, the bot should handle the error a *wg product image* -> sets the image of the product. The caption of the image should be the command. *wg finished* -> creates the website and gives a link to the website maker +# delete +Users should be able to delete products and website +*wg delete product * +*wg delete website * + + # Note: If you think these commands are not enough, please add them in a seperate section with a clear defination. \ No newline at end of file