Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for D4J #26

Open
im-yun opened this issue Aug 2, 2020 · 3 comments
Open

Adding support for D4J #26

im-yun opened this issue Aug 2, 2020 · 3 comments

Comments

@im-yun
Copy link

im-yun commented Aug 2, 2020

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
Copy link
Owner

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
Copy link
Author

im-yun commented Aug 2, 2020

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

@freyacodes
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants