lavalibs / Lavalink.NET

A C# library to use Lavalink
MIT License
7 stars 4 forks source link

added StopAsync function to stop the current track from the player #4

Closed FenikkusuKoneko closed 6 years ago

FenikkusuKoneko commented 6 years ago

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"

FenikkusuKoneko commented 6 years ago

The End event function wasn't working. At least at me. I debuged it to the source and:

DevYukine commented 6 years ago

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.