Skip to content

Commit

Permalink
Upgrade JDA for better logging
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Apr 25, 2024
1 parent 6228f3b commit 9e892e9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bot/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ plugins {

val pmdVersion = "7.0.0-rc4"

val numberVersion = "3.109.2"
val numberVersion = "3.109.3"

project.group = "me.duncte123.skybot"
project.version = "${numberVersion}_${getGitHash()}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,15 +196,17 @@ class LyricsCommand : MusicCommand() {
.subscribe({
it as TextLyrics // We always get text lyrics here since we are using genius.

cb(buildLyricsEmbed(
LyricInfo(
it.track.albumArt.last().url,
it.track.title,
null,
it.source,
it.text
cb(
buildLyricsEmbed(
LyricInfo(
it.track.albumArt.last().url,
it.track.title,
null,
it.source,
it.text
)
)
))
)
}) {
LOGGER.error("Failed searching lyrics for genius", it)
cb(null)
Expand Down
3 changes: 2 additions & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ fun VersionCatalogBuilder.common() {
library("sentry", "io.sentry", "sentry-logback").version("5.4.0")
library("org-json", "org.json", "json").version("20220924")

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

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

Expand Down

0 comments on commit 9e892e9

Please sign in to comment.