From ee1b80b2dc8bf6231d77dfab4758b5d49d9dc4c5 Mon Sep 17 00:00:00 2001 From: Thijs Stobbelaar Date: Wed, 27 Sep 2023 15:06:47 +0200 Subject: [PATCH] formatting --- discord/report_new_matches.ps1 | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/discord/report_new_matches.ps1 b/discord/report_new_matches.ps1 index a6e4a6a..3767d31 100644 --- a/discord/report_new_matches.ps1 +++ b/discord/report_new_matches.ps1 @@ -82,18 +82,16 @@ foreach ($winid in $new_win_matches) { $content_winstats = '```' + ($win_stats | Format-Table | out-string) + '```' send-discord -content $content_winstats - $legenda = " - - Legenda: - - dmg_h: Schade aangericht aan echte spelers - dmg: Totale schade (aan zowel echte spelers als AI) - k_h: Aantal echte spelers die je hebt geƫlimineerd - K_a: Totale aantal eliminaties (inclusief AI) - t_serv: Overleefde tijd (in seconden) - k_t: Team eliminaties - - " + $legenda = ' +``` +dmg_h = Schade aangericht aan echte spelers +dmg = Totale schade (aan zowel echte spelers als AI) +k_h = Aantal echte spelers die je hebt geelimineerd +K_a = Totale aantal eliminaties (inclusief AI) +t_serv = Overleefde tijd (in seconden) +k_t = Team eliminaties +``` + ' send-discord -content $legenda