Update main.ps1

This commit is contained in:
egieb
2025-06-19 16:51:33 +00:00
committed by GitHub
parent 66d4c721a7
commit 95ef3e4271
+4 -2
View File
@@ -15,8 +15,10 @@ $memoryStream = New-Object IO.MemoryStream($imageBytes, 0, $imageBytes.Length)
$memoryStream.Write($imageBytes, 0, $imageBytes.Length);
$image = [System.Drawing.Image]::FromStream($memoryStream)
# shortened URL Detection
if ($dc.Ln -ne 121){Write-Host "Shortened Webhook URL Detected.." ; $dc = (irm $dc).url}
$dc = "$dc"
if ($dc.Length -lt 120){
$dc = ("https://discord.com/api/webhooks/" + "$dc")
}
$setupwindow = New-Object System.Windows.Forms.Form
$setupwindow.ClientSize = '600,450'