Closed ZLima12 closed 6 years ago
The documentation does contain it
Oh, I see now. It wasn't as clear as I had thought it might be. In that case I'll update the typings.
Maybe something like this would be possible? Just to be as clear as possible.
Added that in the latest docs
It seems like the constructor for the DBLAPI class has an undocumented overload: the client object can be passed in the options place.
https://github.com/DiscordBotList/dblapi.js/blob/5f70adaf2d0c6842341eda8bd5d9d14ff7ac929e/src/index.js#L28-L31
Is this still desired? If so, I'll update the typings. It would be wise to update the documentation as well.