Skip to content

Commit

Permalink
Bump JDA and lavaplayer
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Oct 21, 2021
1 parent 6e04947 commit a6dcc6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ plugins {
pmd
}

val numberVersion = "3.105.1"
val numberVersion = "3.106.0"

project.group = "ml.duncte123.skybot"
project.version = "${numberVersion}_${getGitHash()}"
Expand Down Expand Up @@ -77,15 +77,15 @@ dependencies {

// JDA (java discord api)
// implementation(group = "com.github.dv8fromtheworld", name = "JDA", version = "4208971") {
implementation(group = "net.dv8tion", name = "JDA", version = "4.3.0_333") {
implementation(group = "net.dv8tion", name = "JDA", version = "4.3.0_335") {
exclude(module = "opus-java")
}

implementation(group = "com.dunctebot", name = "sourcemanagers", version = "1.5.6")
// implementation(group = "com.github.DuncteBot", name = "skybot-source-managers", version = "68b7277")
// Lavaplayer/Lavalink
// implementation(group = "com.sedmelluq", name = "lavaplayer", version = "1.3.78")
implementation(group = "com.github.Walkyst", name = "lavaplayer-fork", version = "d96f49c")
implementation(group = "com.github.walkyst", name = "lavaplayer-fork", version = "1.3.95")
implementation(group = "com.github.DuncteBot", name = "Lavalink-Client", version = "c1d8b73") {
exclude(module = "lavaplayer")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,8 +636,8 @@ private void logEditedMessage(MessageData original, MessageData edited, Dunctebo
"Message %s edited in <#%s>\n**Before:** %s\n**After:** %s".formatted(
edited.getMessageId(),
edited.getChannelId(),
MarkdownSanitizer.escape(original.getContent()),
MarkdownSanitizer.escape(edited.getContent())
MarkdownSanitizer.escape(original.getContent(), true),
MarkdownSanitizer.escape(edited.getContent(), true)
)
)
.setTimestamp(Instant.now());
Expand Down Expand Up @@ -668,7 +668,7 @@ private void logDeletedMessage(MessageData data, DunctebotGuild guild) {
"Message %s deleted from <#%s>\n**Content:** %s".formatted(
data.getMessageId(),
data.getChannelId(),
MarkdownSanitizer.escape(data.getContent())
MarkdownSanitizer.escape(data.getContent(), true)
)
)
.setTimestamp(Instant.now());
Expand Down

0 comments on commit a6dcc6f

Please sign in to comment.