This function will be called internally within Player
to send VOICE_STATE_UPDATE events, this is required for
correct functionality, so implementing this is mandatory
if you're creating your own player manager
If you're using the included player manager for Eris,
you do not need to implement this
// if your're using eris, the API maps 1:1constWebsocketAbstract = (op, ctx) =>data.shard.sendWS(op, ctx)newPlayer(someNode, '110462143152803840', WebsocketAbstract)
// if you're using discord.js...constclient = newDiscord.Client(options)constWebsocketAbstract = (op, data) => {returnclient.ws.get(shardID).send({op, ...data })}newPlayer(someNode, '110462143152803840', WebsocketAbstract)
An abstraction for Discord's shards
This function will be called internally within Player to send VOICE_STATE_UPDATE events, this is required for correct functionality, so implementing this is mandatory if you're creating your own player manager
If you're using the included player manager for Eris, you do not need to implement this