ReadMe updated
This commit is contained in:
parent
e0bb5ea69d
commit
f483bb915f
@ -15,8 +15,7 @@ module.exports = function(RED) {
|
|||||||
node.send(msg);
|
node.send(msg);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Commands recived for Whatsapp Client.
|
// Commands recived for Whatsapp Admin.
|
||||||
|
|
||||||
this.on('input', async function(msg, send){
|
this.on('input', async function(msg, send){
|
||||||
if (msg.payload === "destroy") {
|
if (msg.payload === "destroy") {
|
||||||
await node.waClient.destroy();
|
await node.waClient.destroy();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user