Doesn't leave when finished playing. Totaly stable, tested and proven closes #62

This commit is contained in:
Master Kwoth
2016-02-25 05:57:24 +01:00
parent f9a1ca0c50
commit ec0c3c86e0
4 changed files with 28 additions and 18 deletions

View File

@ -49,7 +49,7 @@ namespace NadekoBot.Modules {
.Description("Completely stops the music, unbinds the bot from the channel, and cleans up files.")
.Do(e => {
if (musicPlayers.ContainsKey(e.Server) == false) return;
musicPlayers[e.Server].Stop();
musicPlayers[e.Server].Stop(true);
});
cgb.CreateCommand("p")