diff --git a/.gitignore b/.gitignore index 703ab51..33dd45c 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ *.zip *.tar.gz *.rar +*.iml # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml hs_err_pid* diff --git a/pom.xml b/pom.xml index d31c6c6..62b2d38 100644 --- a/pom.xml +++ b/pom.xml @@ -90,12 +90,12 @@ com.google.guava guava - 33.2.1-jre + 33.3.0-jre org.redisson redisson - 3.33.0 + 3.34.1 ch.qos.logback @@ -110,22 +110,22 @@ org.slf4j slf4j-api - 2.0.13 + 2.0.16 org.xerial sqlite-jdbc - 3.46.0.0 + 3.46.1.0 software.amazon.awssdk s3 - 2.26.25 + 2.27.7 org.junit.jupiter junit-jupiter - 5.10.3 + 5.11.0 test @@ -152,7 +152,7 @@ org.openapitools openapi-generator-maven-plugin - 7.7.0 + 7.8.0 api.2b2t.vc diff --git a/src/main/java/vc/commands/PlayerStatsCommand.java b/src/main/java/vc/commands/PlayerStatsCommand.java index d51cd26..ddceb7c 100644 --- a/src/main/java/vc/commands/PlayerStatsCommand.java +++ b/src/main/java/vc/commands/PlayerStatsCommand.java @@ -50,7 +50,7 @@ public Mono handle(final ChatInputInteractionEvent event) { try { playerStats = statsApi.playerStats(playerIdentityOptional.get().uuid(), null); } catch (final Exception e) { - LOGGER.error("Failed to get stats for player: " + playerIdentityOptional.get().uuid(), e); + LOGGER.error("Failed to get stats for player: {}", playerIdentityOptional.get().uuid(), e); } if (playerStats == null) return error(event, "Unable to find player"); @@ -77,7 +77,7 @@ public Mono handle(final ChatInputInteractionEvent event) { .addField("Kills", ""+playerStats.getKillCount(), true) .addField("\u200B", "\u200B", true) .addField("Chats", ""+playerStats.getChatsCount(), true) - .addField("Priority Queue", Boolean.TRUE.equals(playerStats.getPrio()) ? "Yes (probably)" : "No (probably not)", true) + .addField("Priority Queue", Boolean.TRUE.equals(playerStats.getPrio()) ? "Yes" : "No", true) .addField("\u200B", "\u200B", true) .thumbnail(playerLookup.getAvatarURL(playerIdentityOptional.get().uuid()).toString()) .build());