freyacodes / Lavalink-Client

The classic Lavalink client for bots written for JVM using JDA or other frameworks
MIT License
41 stars 53 forks source link

Adding support for D4J #26

Open im-yun opened 4 years ago

im-yun commented 4 years ago
Since this client has been rewritten to be generic, it is possible to write custom implementations of the abstract Lavalink and Link classes.

The client was made generic with FredBoat in mind, but if you need generics for your own purposes, you can open an issue and I can elaborate on this brief documentation.

^ Would be nice if you can provide bit of insight on this I would like to use this with D4J.

freyacodes commented 4 years ago

You would need to create D4J implementations of the Lavalink and Link classes.

You can use the JDA implementation as a reference.

https://github.com/FredBoat/Lavalink-Client/tree/master/src/main/java/lavalink/client/io/jda

im-yun commented 4 years ago

Would I need to create my own package? or there is way to use them from current one

freyacodes commented 4 years ago

I'm not sure what you mean.

You can either publish your own library or submit a PR to have a D4J implementation added to this repo.