This is a proposal to remove client requirement in discord-player. This allows discord-player to be more flexible in terms of cross-lib usage within javascript ecosystem. This breaks few things:
discord-player wont be able to send/receive voice related payloads on the main gateway, this needs to be handled by the user.
discord-player wont be able to readjust its state based on voiceStateUpdate event by itself. We can provide prebuilt utilities to handle this if needed.
discord-player wont be able to figure out guilds and voice channels magically anymore
Those are the only downside of this change. However it brings up new possibilities where you will be able to hook up same code across other discord libraries.
This is a proposal to remove
client
requirement in discord-player. This allows discord-player to be more flexible in terms of cross-lib usage within javascript ecosystem. This breaks few things:Those are the only downside of this change. However it brings up new possibilities where you will be able to hook up same code across other discord libraries.