lavacord / Lavacord

A easy to use Lavalink client that can be used with any discord api wrapper
Apache License 2.0
84 stars 21 forks source link

Add bindings for some libraries built in #129

Closed PapiOphidian closed 1 year ago

PapiOphidian commented 1 year ago

This PR is only a suggestion that some libraries can have bindings built in to the main library. This also fixes some issues where the library expects the send function to exist but it may actually not be present. The library now waits until the next tick after the constructor call to assign a noop function.

Libraries added are:

I am open for suggestions for libraries to support.

This PR introduces breaking changes by removing the dist folder. The index is now in the root folder along with the lib folder. This change was necessary because I would have liked the bindings files to be in the root folder. TypeScript config file was changed to output directly to the root folder.