should leave voice channel now
This commit is contained in:
parent
4251da0a86
commit
705ef60075
@ -218,10 +218,11 @@ namespace NadekoBot.Classes.Music {
|
||||
}
|
||||
|
||||
voiceClient.Wait();
|
||||
State = StreamState.Completed;
|
||||
Console.WriteLine("Song completed.");
|
||||
await voiceClient.Disconnect();
|
||||
if (parent.OnCompleted != null)
|
||||
parent.OnCompleted();
|
||||
State = StreamState.Completed;
|
||||
Console.WriteLine("Song completed.");
|
||||
});
|
||||
|
||||
internal void StopPlayback() {
|
||||
|
Loading…
Reference in New Issue
Block a user