This commit is contained in:
Thijs Stobbelaar 2023-11-14 10:45:07 +01:00
parent 3f0c80b3eb
commit 413e69a955
7 changed files with 18 additions and 7 deletions

View file

@ -7,7 +7,7 @@ else {
$scriptroot = $PSScriptRoot
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
new-lock -by "report_new_matches"
$fileContent = Get-Content -Path "$scriptroot/../config/config.php" -Raw

View file

@ -7,7 +7,7 @@ else {
$scriptroot = $PSScriptRoot
}
. $scriptroot\..\includes\ps1\lockfile.ps1
new-lock
new-lock -by "report_to_discord"
function IsValidEntry($entry) {
return ($entry.KD_H -ne 'NaN' -and $entry.KD_ALL -ne 'NaN') -and
($entry.KD_H -ne 'Infinity' -and $entry.KD_ALL -ne 'Infinity')