Skip to content

Commit

Permalink
chore: remove debug logging and minor text fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
yHSJ committed Dec 10, 2024
1 parent ac4933b commit e41e050
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/fi/sundae/bot/tournament/Match.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public MessageEmbed toDisagreementEmbed() {
The match between <@%s> and <@%s> has failed due to a disagreement in state. Any kills during the match have been discarded
"""
.formatted(getPlayerOne(), getPlayerTwo()))
.addField("Game ID", "`%s`".formatted(this.CODE), true)
.addField("Node ID", "`%s`".formatted(this.CODE), true)
.addField("Game ID", "`%s`".formatted(this.gameTxHash), true)
.build();
}
Expand All @@ -109,7 +109,7 @@ public MessageEmbed toDisconnectEmbed() {
The match between <@%s> and <@%s> has failed due to a player disconnect. Any kills during the match have been discarded
"""
.formatted(getPlayerOne(), getPlayerTwo()))
.addField("Game ID", "`%s`".formatted(this.CODE), true)
.addField("Node ID", "`%s`".formatted(this.CODE), true)
.addField("Game ID", "`%s`".formatted(this.gameTxHash), true)
.build();
}
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/fi/sundae/bot/tournament/Matchmaker.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ public void endMatch(MatchRequest matchRequest, JDA jda) {
.findFirst();

if (maybeMatch.isEmpty()) {
ACTIVE_MATCHES.forEach(
match -> System.out.printf("Match gameTx: %s\n", match.getGameTxHash()));
LOGGER.info("Match {} is not in ACTIVE_MATCHES", matchRequest.getGameId());
return;
}
Expand Down

0 comments on commit e41e050

Please sign in to comment.