remove pings

This commit is contained in:
LBlend committed 2022-03-17 22:51:08 +01:00
1 parent 4d7a3d8e81
commit 8e050e91e2
1 file changed
+6 -6
+6 -6
View File
@@ -2,15 +2,15 @@
Sends a message to discord whenever a form is submitted.
*/
var webhookUrl = 'yeet'; // Insert your webhook url here
var webhookUrl = "yeet"; // Insert your webhook url here
function onSubmit(e) {
var discordPayload = {
content: 'Nytt betalende medlem! <@267415183931080715> <@280753175340908546> <@170506717140877312>'
}
content: "Nytt betalende medlem!",
};
UrlFetchApp.fetch(webhookUrl, {
method: 'post',
method: "post",
payload: JSON.stringify(discordPayload),
contentType: 'application/json'
})
contentType: "application/json",
});
}