Replies: 3 comments 2 replies
-
we need a support server i guess |
Beta Was this translation helpful? Give feedback.
1 reply
-
@DevAndromeda Discord-player is really cool and I used it for few months with my bot but it's really not adapted for really big bots, especially with the memory leak when too much users are calling |
Beta Was this translation helpful? Give feedback.
1 reply
-
Extractors API
Basic Exampleimport { registerExtractor, QueryTypes } from "discord-player"
class MyExtractor {
constructor() {
QueryTypes.register("MY_QUERY_TYPE", "someValue");
}
validate(src) {
/* some logic */
}
handleQuery(query, metadata) {
/* return result */
}
}
registerExtractor("id", MyExtractor); Plugins API
Exampleimport { registerPlugin, Player } from "discord-player"
class MyExtractor {
constructor(readonly player: Player) {}
handle(queue, metadata) {
/* return result */
}
}
registerPlugin("id", MyPlugin); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone. Sorry if I have a bad English (I'm not a native speaker) 😛. I am the maintainer of this project, @Androz2091 being busy can't handle this project along with his other projects at the same time. Due to this, I am trying to update this library whenever possible to reduce his workload. Note that I am also not free and I have many work to do myself. I mostly update this library when I am free/have time. With that being said, I want to list out some future plans for this library.
Discord Player is currently on version 5. Everything started from Jan 11 2020 and the community has been growing ever since. According to GitHub reports, over 3.2K+ projects depend upon Discord Player, which is honestly crazy.
Discord Player have been getting some unexpected issues, mainly due to us trying to re-use old code on every new updates. To solve this, what I would like to do with this library for version 6 is:
currently available:
My ideas might not be enough and I want this community to share their views/ideas for the future updates of this library.
Please leave your ideas below on what you would like to see in the next version of discord-player.
Also the related projects of discord-player will be available on https://github.com/discord-player organization.
Beta Was this translation helpful? Give feedback.
All reactions