Skip to content

Commit

Permalink
Update discord-notify-selfhosted-windows-powershell.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
UnagiDohn committed Oct 13, 2024
1 parent e83f72b commit 7a94443
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
# cmd.exe /c 'curl -H "Content-Type: application/json" -X POST -d "{\"username\": \"ここに名前を入れる\", \"content\": \"メッセージを送る!\"}" https://discord.com/api/webhooks/1294410759958298665/NsinS1PTNjGS8J8GFl_m37V36xB-1GzZNSfnoaTEF_LnwnUIqWqoMcWA_Gv3L15iFcxL'
# Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"namename`", `"content`": `"messagemessage`"}" https://discord.com/api/webhooks/1294410759958298665/NsinS1PTNjGS8J8GFl_m37V36xB-1GzZNSfnoaTEF_LnwnUIqWqoMcWA_Gv3L15iFcxL
run: |
Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"なまえ`", `"content`": `"めっせーじ`"}" ${{ secrets.DISCORD_WEBHOOK_URL }}
Invoke-WebRequest -Headers @{"Content-Type"="application/json"} -Method Post -Body "{`"username`": `"name`", `"content`": `"message`"}" ${{ secrets.DISCORD_WEBHOOK_URL }}

0 comments on commit 7a94443

Please sign in to comment.