feat(provider): added new venom provider

This commit is contained in:
Juan Daniel
2022-12-13 14:39:51 +01:00
parent fee7c2e967
commit 01fe9ebc9a
6 changed files with 585 additions and 474 deletions

View File

@@ -31,6 +31,7 @@ class WebWhatsappProvider extends ProviderClass {
for (const { event, func } of listEvents) {
this.vendor.on(event, func)
}
this.vendor.emit('preinit')
this.vendor.initialize().catch((e) => {
logger.log(e)