diff --git a/whatsapp-web.js/package.json b/whatsapp-web.js/package.json index 3a32f85..b5f9c49 100644 --- a/whatsapp-web.js/package.json +++ b/whatsapp-web.js/package.json @@ -5,7 +5,7 @@ "main": "test.js", "scripts": { "test-web": "node website_test.js http://localhost:8004", - "test" : "mocha", + "test": "mocha", "start": "node index.js" }, "author": "", diff --git a/whatsapp-web.js/src/userInteraction/messages.js b/whatsapp-web.js/src/userInteraction/messages.js index 8469674..8de53b1 100644 --- a/whatsapp-web.js/src/userInteraction/messages.js +++ b/whatsapp-web.js/src/userInteraction/messages.js @@ -10,8 +10,10 @@ var selected_website = null; // Selected website. /////////// //add the commands here /////////// + + const commands = [ - new Command({ + new Command({ //User command command: 'wg',