Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/ch/yoinc/tasks/LeetifyTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void execute(JDA jda, Properties properties) {
case "matchmaking_wingman" -> returnFilledEmbed("New Wingman Match",
Color.GREEN, players + " played a Wingman match together and " + ((hasWon) ? "**won**." : "**lost**."),
match.map_name, matchID, "Finished at " + match.finished_at);
case "matchmaking" -> returnFilledEmbed("New Competitive Match",
case "matchmaking", "matchmaking_competitive" -> returnFilledEmbed("New Competitive Match",
Color.YELLOW, players + " played a Competitive match together and " + ((hasWon) ? "**won**." : "**lost**."),
match.map_name, matchID, "Finished at " + match.finished_at);
default -> matchEmbed;
Expand All @@ -84,7 +84,7 @@ public void execute(JDA jda, Properties properties) {
case "matchmaking_wingman" -> returnFilledEmbed("New Wingman Match", Color.GREEN,
match.stats.getFirst().name + " played a Wingman match and " + ((hasWon) ? "**won**." : "**lost**."),
match.map_name, matchID, "Finished at " + match.finished_at);
case "matchmaking" -> returnFilledEmbed("New Competitive Match", Color.YELLOW,
case "matchmaking", "matchmaking_competitive" -> returnFilledEmbed("New Competitive Match", Color.YELLOW,
match.stats.getFirst().name + " played a Competitive match and " + ((hasWon) ? "**won**." : "**lost**."),
match.map_name, matchID, "Finished at " + match.finished_at);
default -> matchEmbed;
Expand Down
Loading