From 7b1f379e6606dd461e20f50942301c4133c7c5ba Mon Sep 17 00:00:00 2001 From: Marcos Date: Tue, 31 Aug 2021 19:20:42 -0300 Subject: [PATCH] bump packages version and use new venom sendText api --- lib/whatsapp.js | 6 +----- package.json | 14 +++++++------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/lib/whatsapp.js b/lib/whatsapp.js index e0f643c..3d0d6f3 100644 --- a/lib/whatsapp.js +++ b/lib/whatsapp.js @@ -112,11 +112,7 @@ class Message_was extends AsyncConstructor { check = await this.checkMessage(); if (check !== "Command-reject" && check !== "Video-reject" && check !== "Url-Reject" && check !== "Video-Url-Reject" && check !== "Url-No-Detected") { - await this.client.reply( - this.message.chatId, - _.t("Generating"), - message.id.toString() - ); + await this.client.sendText(this.message.chatId, _.t("Generating")); } switch (check) { diff --git a/package.json b/package.json index d75a7bd..1e39524 100644 --- a/package.json +++ b/package.json @@ -29,20 +29,20 @@ }, "homepage": "https://github.com/kaiserdj/Stickerworld", "dependencies": { - "@ffmpeg-installer/ffmpeg": "^1.0.20", - "@ffprobe-installer/ffprobe": "^1.1.0", - "async-constructor": "^0.4.14", + "@ffmpeg-installer/ffmpeg": "^1.1.0", + "@ffprobe-installer/ffprobe": "^1.2.0", + "async-constructor": "^0.4.16", "axios": "^0.21.1", "compress-images": "^1.9.9", - "fast-glob": "^3.2.5", + "fast-glob": "^3.2.7", "fluent-ffmpeg": "^2.1.2", - "i18next": "^20.3.1", + "i18next": "^20.5.0", "is-valid-http-url": "^1.0.3", "jimp": "0.16.1", - "mime-types": "^2.1.31", + "mime-types": "^2.1.32", "semver": "^7.3.5", "sharp": "^0.28.3", - "venom-bot": "^3.0.18", + "venom-bot": "^3.1.2", "winston": "^3.3.3" } }