#Why does ".then" not work in client initialize ?
5 messages · Page 1 of 1 (latest)
Because this is a simple method without a return
https://docs.wwebjs.dev/Client.html#initialize
Why does this happen? My events are not firing.
Which version of the lib you are using?
i may be wrong but it seems you never resolved the promise after initializing client, try this? async await and try/catch will work better most of the time, when it doesn't, i use .catch (for promises)