Skip to content

Commit 9e892e9

Browse files
committed
Upgrade JDA for better logging
1 parent 6228f3b commit 9e892e9

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

bot/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ plugins {
3636

3737
val pmdVersion = "7.0.0-rc4"
3838

39-
val numberVersion = "3.109.2"
39+
val numberVersion = "3.109.3"
4040

4141
project.group = "me.duncte123.skybot"
4242
project.version = "${numberVersion}_${getGitHash()}"

bot/src/main/kotlin/me/duncte123/skybot/commands/music/LyricsCommand.kt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,17 @@ class LyricsCommand : MusicCommand() {
196196
.subscribe({
197197
it as TextLyrics // We always get text lyrics here since we are using genius.
198198

199-
cb(buildLyricsEmbed(
200-
LyricInfo(
201-
it.track.albumArt.last().url,
202-
it.track.title,
203-
null,
204-
it.source,
205-
it.text
199+
cb(
200+
buildLyricsEmbed(
201+
LyricInfo(
202+
it.track.albumArt.last().url,
203+
it.track.title,
204+
null,
205+
it.source,
206+
it.text
207+
)
206208
)
207-
))
209+
)
208210
}) {
209211
LOGGER.error("Failed searching lyrics for genius", it)
210212
cb(null)

settings.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ fun VersionCatalogBuilder.common() {
4242
library("sentry", "io.sentry", "sentry-logback").version("5.4.0")
4343
library("org-json", "org.json", "json").version("20220924")
4444

45-
library("jda", "net.dv8tion", "JDA").version("5.0.0-beta.21")
45+
// library("jda", "net.dv8tion", "JDA").version("5.0.0-beta.23")
46+
library("jda", "com.github.discord-jda", "JDA").version("e82f4dc")
4647

4748
library("trove", "net.sf.trove4j", "trove4j").version("3.0.3")
4849

0 commit comments

Comments
 (0)