Created
March 13, 2023 04:57
-
-
Save TheButterZone/e86febbda5dc3c9534640caf2c49a45e to your computer and use it in GitHub Desktop.
Google Form Non-Verbose Discord Webhook Notification
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function webhook() { | |
const url = "YOURDISCORDWEBHOOKHERE"; | |
const options = { | |
"method": "post", | |
"headers": { | |
"Content-Type": "application/json" | |
}, | |
"payload": JSON.stringify({ | |
"content": "YOURCUSTOMMESSAGEHERE" | |
}) | |
}; | |
const response = UrlFetchApp.fetch(url, options); | |
Logger.log(response); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment