deadlinecode / baileys-bottle

56 stars 40 forks source link

[ ISSUE ] TypeError: baileysBottle.init is not a function #17

Closed erickythierry closed 1 year ago

erickythierry commented 1 year ago

I installed the lib correctly and followed the suggested example, but this error continues to occur

batarabagus commented 1 year ago

If your code use JS, then try to import value BaileysBottle as default parameters. const { default : BaileysBottle } = require('baileys-bottle')