From 0f5790ec657007a4725a28900dc7ef496c422a1e Mon Sep 17 00:00:00 2001 From: Janes Thomas Date: Sat, 12 Sep 2026 12:58:52 +0200 Subject: [PATCH] added missing data_source "matchmaking_competitive" --- src/main/java/ch/yoinc/tasks/LeetifyTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/ch/yoinc/tasks/LeetifyTask.java b/src/main/java/ch/yoinc/tasks/LeetifyTask.java index 51cb963..8da403c 100644 --- a/src/main/java/ch/yoinc/tasks/LeetifyTask.java +++ b/src/main/java/ch/yoinc/tasks/LeetifyTask.java @@ -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; @@ -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;