Should now skip to next song in queue if download fails

This commit is contained in:
Matthieu Grieger 2015-01-01 07:20:11 -08:00
parent 5f39ce7b5b
commit 3f874d6322

View file

@ -99,7 +99,7 @@ func (dj *mumbledj) OnSongFinished() {
username := dj.currentSong.submitter
user := dj.client.Self().Channel().Users().Find(username)
user.Send(AUDIO_FAIL_MSG)
dj.currentSong.Delete()
dj.OnSongFinished()
}
}
}