From 21dd9b990b82a01511bb82b009602a5ea45b1e90 Mon Sep 17 00:00:00 2001 From: Lanta Date: Thu, 19 Jun 2025 11:23:58 +0200 Subject: [PATCH] winwithurl --- discord/report_new_matches.ps1 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/discord/report_new_matches.ps1 b/discord/report_new_matches.ps1 index cd8e5dd..8b7e97e 100644 --- a/discord/report_new_matches.ps1 +++ b/discord/report_new_matches.ps1 @@ -262,8 +262,12 @@ foreach ($winid in $new_win_matches) { $2D_replay_url = 'https://chickendinner.gg/' + $winid + "/" + $players_to_report[0].name if ($new_win_matches.count -le 10) { #fail safe + $winnerswithurl = @() + foreach($winner in $winners){ + $winnerswithurl += "[$winner]()" + } send-discord -content ":chicken: :chicken: **WINNER WINNER CHICKEN DINNER!!** :chicken: :chicken:" - send-discord -content ":partying_face::partying_face::partying_face: Gefeliciteerd $($winners -join ', ') :partying_face::partying_face::partying_face:" + send-discord -content ":partying_face::partying_face::partying_face: Gefeliciteerd $($winnerswithurl -join ', ') :partying_face::partying_face::partying_face:" $match_settings = @" `````` match mode $($winmatches[0].gameMode) -- 2.49.1