Skip to content

Commit bb67e34

Browse files
committed
Update Javacord version
1 parent 4f70ab9 commit bb67e34

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

buildSrc/src/main/kotlin/net/kautler/versions.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ repositories {
3939
val versions by extra(mapOf(
4040
// production versions
4141
"cdi" to "2.0",
42-
"javacord" to "3.0.4",
42+
"javacord" to "3.0.5",
4343
"javax.annotation-api" to "1.3.2",
4444
"javax.inject" to "1",
4545
"jda" to "4.0.0_52",

examples/simplePingBotJavacord/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dependencies {
2929
runtimeOnly("org.jboss.weld.se:weld-se-core:3.1.2.Final") { because("CDI implementation") }
3030
runtimeOnly("org.jboss:jandex:2.1.1.Final") { because("faster CDI bean scanning") }
3131

32-
implementation("org.javacord:javacord:3.0.4")
32+
implementation("org.javacord:javacord:3.0.5")
3333
implementation("org.apache.logging.log4j:log4j-api:2.12.1")
3434

3535
runtimeOnly("org.apache.logging.log4j:log4j-core:2.12.1")

src/test/groovy/net/kautler/command/handler/CommandHandlerJavacordTest.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ class CommandHandlerJavacordTest extends Specification {
354354

355355
def 'asynchronous command execution should happen asynchronously'() {
356356
given:
357-
def discordApi = new DiscordApiImpl(null, null, null, null, false)
357+
def discordApi = new DiscordApiImpl(null, null, null, null, null, false)
358358
message.api >> discordApi
359359
def threadFuture = new CompletableFuture()
360360

@@ -372,7 +372,7 @@ class CommandHandlerJavacordTest extends Specification {
372372

373373
def 'asynchronous command execution should not log an error if none happened'() {
374374
given:
375-
def discordApi = new DiscordApiImpl(null, null, null, null, false)
375+
def discordApi = new DiscordApiImpl(null, null, null, null, null, false)
376376
message.api >> discordApi
377377

378378
when:
@@ -394,7 +394,7 @@ class CommandHandlerJavacordTest extends Specification {
394394

395395
def 'exception during asynchronous command execution should be logged properly'() {
396396
given:
397-
def discordApi = new DiscordApiImpl(null, null, null, null, false)
397+
def discordApi = new DiscordApiImpl(null, null, null, null, null, false)
398398
message.api >> discordApi
399399
def exception = new Exception()
400400

0 commit comments

Comments
 (0)