Advertisement
Thecodeeasar

Main.py

Jan 26th, 2025
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.39 KB | None | 0 0
  1. @echo off
  2. setlocal enabledelayedexpansion
  3.  
  4. :: Set your webhook URL here
  5. set WEBHOOK_URL=https://discord.com/api/webhooks/YOUR_WEBHOOK_URL
  6.  
  7. :: Create a JSON payload
  8. set MESSAGE_BODY={"content": "Hi"}
  9.  
  10. :: Send the request using curl (make sure curl is installed)
  11. curl -X POST -H "Content-Type: application/json" -d "%MESSAGE_BODY%" %WEBHOOK_URL%
  12.  
  13. echo Message sent to the webhook!
  14. pause
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement