Matchinfo Discord

This commit is contained in:
Thijs Stobbelaar 2023-11-15 17:11:10 +01:00
parent da78c82643
commit ec491230d9
4 changed files with 1 additions and 1 deletions

View file

@ -147,6 +147,7 @@ id $($winmatches[0].id)
} }
send-discord -content "[2D replay](<$2D_replay_url>)" send-discord -content "[2D replay](<$2D_replay_url>)"
send-discord -content "More match details [DTCH_STATS](https://dtch.online/matchinfo.php?matchid=$($winmatches[0].id))"
} }
else { else {
write-output "Something went wrong (more then 10 matches to report)" write-output "Something went wrong (more then 10 matches to report)"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 MiB

After

Width:  |  Height:  |  Size: 659 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

View file

@ -61,7 +61,6 @@ function get-killstats {
matchType = $matchType matchType = $matchType
dbno = ($attacks | where-object { $_.dBNOMaker.name -eq $player_name }).count dbno = ($attacks | where-object { $_.dBNOMaker.name -eq $player_name }).count
} }
} }