From 2e35bbd0c790b496920bcbe2d59de1900346ffa6 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Tue, 9 May 2023 09:33:37 +0200 Subject: [PATCH] fix: removed nonexistent versions from info command chore: added an issue to known issues Signed-off-by: limited_dev --- README.md | 3 ++- .../extensions/music/components/GuildTrackScheduler.kt | 1 + .../limited_dev/botendo/extensions/util/InfoExtension.kt | 7 +++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 369548b..4fb6227 100644 --- a/README.md +++ b/README.md @@ -17,11 +17,12 @@ A Discord music bot, written in Kotlin using the kord library. ## Special Thanks to -- HopeBaron for helping me a whole lot +- HopeBaron for helping me a lot ## Known issues - The Repeat feature does not function +- The Queue does not show the current song, if there is no song next up - Not all comments are listed below ## Commands diff --git a/src/main/kotlin/de/limited_dev/botendo/extensions/music/components/GuildTrackScheduler.kt b/src/main/kotlin/de/limited_dev/botendo/extensions/music/components/GuildTrackScheduler.kt index 5320e33..0efb9f3 100644 --- a/src/main/kotlin/de/limited_dev/botendo/extensions/music/components/GuildTrackScheduler.kt +++ b/src/main/kotlin/de/limited_dev/botendo/extensions/music/components/GuildTrackScheduler.kt @@ -75,6 +75,7 @@ class GuildTrackScheduler(val pl: Player) { private suspend fun onTrackEnd(e: TrackEndEvent) { if (e.reason.mayStartNext) { if (repeating) { + Logger.out("Repeating track....") this.pl.playTrack(e.getTrack().copy()) return } diff --git a/src/main/kotlin/de/limited_dev/botendo/extensions/util/InfoExtension.kt b/src/main/kotlin/de/limited_dev/botendo/extensions/util/InfoExtension.kt index 8bca8d3..34b151b 100644 --- a/src/main/kotlin/de/limited_dev/botendo/extensions/util/InfoExtension.kt +++ b/src/main/kotlin/de/limited_dev/botendo/extensions/util/InfoExtension.kt @@ -37,10 +37,9 @@ class InfoExtension : Extension() { "Botendo ***v." + BuildConstants.version + "***\n" + "Kord-Extensions ***v." + BuildConstants.kordVersion + "***\n" + "lavalink.kt ***v." + BuildConstants.lavaVersion + "***\n" + - "Coroutines ***v." + BuildConstants.coroutinesVersion + "***\n" + - "Ktor ***v." + BuildConstants.ktorVersion + "***\n" + - "Exposed ***v." + BuildConstants.exposedVersion + "***\n" + - "PostgreSQL ***v." + BuildConstants.postgresVersion + "***" + "Coroutines ***v." + BuildConstants.coroutinesVersion + "***\n\n\n" + + "***Bot made by moonleay#7441***\n" + + "(c) 2023, licensed under GPL-3.0" ) } }