feat: option to handle whatsapp session on app

This commit is contained in:
canove
2020-08-13 20:29:41 -03:00
parent cdc4411f70
commit 9914c6752c
10 changed files with 160 additions and 60 deletions

View File

@@ -66,9 +66,9 @@ io.on("connection", socket => {
wBot
.init()
.then(() => {
.then(({ dbSession }) => {
wbotMessageListener();
wbotMonitor();
wbotMonitor(dbSession);
})
.catch(err => console.log(err));