added new scripts
This commit is contained in:
12
PowerShell/Discord-message.ps1
Normal file
12
PowerShell/Discord-message.ps1
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
$content = @"
|
||||||
|
test message
|
||||||
|
"@
|
||||||
|
|
||||||
|
$payload = [PSCustomObject]@{
|
||||||
|
|
||||||
|
content = $content
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Invoke-WebRequest -Uri "https://discord.com/api/webhooks/762680850486657055/q9vW7p0HuZhzsZs34OWpWUkToYW4QniQgz2WLUhWYIGhJdmURg-b4EHrhbcB1cfV725y" -ContentType 'Application/Json' -Method Post -Body ($payload | ConvertTo-Json)
|
||||||
|
|
||||||
Reference in New Issue
Block a user