Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dependabot/maven/dependencies-7b…
Browse files Browse the repository at this point in the history
…ad744308' into mainline
  • Loading branch information
rfresh2 committed Aug 21, 2024
2 parents 8cbccd0 + bba89e7 commit 257be1a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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*
Expand Down
14 changes: 7 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>33.2.1-jre</version>
<version>33.3.0-jre</version>
</dependency>
<dependency>
<groupId>org.redisson</groupId>
<artifactId>redisson</artifactId>
<version>3.33.0</version>
<version>3.34.1</version>
<exclusions>
<exclusion>
<groupId>ch.qos.logback</groupId>
Expand All @@ -110,22 +110,22 @@
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>2.0.13</version>
<version>2.0.16</version>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.46.0.0</version>
<version>3.46.1.0</version>
</dependency>
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>s3</artifactId>
<version>2.26.25</version>
<version>2.27.7</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.3</version>
<version>5.11.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand All @@ -152,7 +152,7 @@
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>7.7.0</version>
<version>7.8.0</version>
<executions>
<execution>
<id>api.2b2t.vc</id>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/vc/commands/PlayerStatsCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Mono<Message> 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");
Expand All @@ -77,7 +77,7 @@ public Mono<Message> 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());
Expand Down

0 comments on commit 257be1a

Please sign in to comment.