Hi,
I just went through an error in the database connect function.
It does call the callback only on error.
Doc
So, when there is a success, we can't know it without dirty checks (for example for creating needed tables or views). And moreover: it's asynchronous (the bad one, the one that doesn't use promesses (as of ECMAScript 6))
I'm using sinusbot v.0.13.37-9791176 (current stable at the time of download)
Just to let you know
Mmoi
I just went through an error in the database connect function.
It does call the callback only on error.
Doc
callback (function) Callback gets called on success / error; If an error occured, exactly one parameter containing the error will be handed to the callback
So, when there is a success, we can't know it without dirty checks (for example for creating needed tables or views). And moreover: it's asynchronous (the bad one, the one that doesn't use promesses (as of ECMAScript 6))
I'm using sinusbot v.0.13.37-9791176 (current stable at the time of download)
Just to let you know

Mmoi