Should now skip to next song in queue if download fails
This commit is contained in:
parent
5f39ce7b5b
commit
3f874d6322
2
main.go
2
main.go
|
@ -99,7 +99,7 @@ func (dj *mumbledj) OnSongFinished() {
|
||||||
username := dj.currentSong.submitter
|
username := dj.currentSong.submitter
|
||||||
user := dj.client.Self().Channel().Users().Find(username)
|
user := dj.client.Self().Channel().Users().Find(username)
|
||||||
user.Send(AUDIO_FAIL_MSG)
|
user.Send(AUDIO_FAIL_MSG)
|
||||||
dj.currentSong.Delete()
|
dj.OnSongFinished()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue