Closed FenikkusuKoneko closed 6 years ago
The End event function
wasn't working. At least at me. I debuged it to the source and:
Debug
calls to console (they blocked somehow the code, I don't know exactly, maybe nullPointerException or the parsing of JObject)lavalinkEvent
to JObject. I know that the Json class converts the stringMessage to JObject, I don't want to be dynamic because this causes problems on parsing
Now the events are working, I tested them :3.Thank you for the Contribution i will merge it and later this day release a minor for this, i will acknowledge this aswell in the rewrite of this lib.
I have a Discord Bot. When my bot leaves a voice channel the current track is still played. So, I added a
StopAsync
function to stop the current track from the player because when my bot client process stop I received errors from the server due to the running of the current track: "WebsocketNotConnectedException"