fix: repeating function repeats now
Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
parent
47b3674b6e
commit
27aee06681
2 changed files with 1 additions and 2 deletions
|
@ -21,7 +21,6 @@ A Discord music bot, written in Kotlin using the kord library.
|
|||
|
||||
## Known issues
|
||||
|
||||
- The Repeat feature does not function
|
||||
- The nowplaying command always shows the current position of the track at 0s
|
||||
|
||||
## Commands & Features
|
||||
|
|
|
@ -75,7 +75,7 @@ class GuildTrackScheduler(val pl: Player) {
|
|||
private suspend fun onTrackEnd(e: TrackEndEvent) {
|
||||
if (e.reason.mayStartNext) {
|
||||
if (repeating) {
|
||||
Logger.out("Repeating track....")
|
||||
Logger.out("Repeating track...")
|
||||
this.pl.playTrack(e.getTrack().copy())
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue