Forked from fabianmieller/uptimerobot_discord.js
Last active
November 9, 2019 10:23
-
-
Save T0biii/b57414561eaf4daaa5c7dda101237dc2 to your computer and use it in GitHub Desktop.
Uptime Robot Discord integrations
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
// Alert Contact Type: Web-Hooks | |
// URL to Notify: https://discordapp.com/api/webhooks/{WEB_HOOK_ID}/{TOKEN}? | |
// POST Value UP (JSON Format): | |
{ | |
"content": "@here: 🔥 **Monitor is:** `*alertTypeFriendlyName*` 💡 **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* :hourglass_flowing_sand: **Downtime:** `*alertDuration* seconds` :hourglass: \n```*alertDetails*```" | |
} | |
// POST Value DOWN (JSON Format): | |
{ | |
"content": "@here: 🔥 **Monitor is:** `*alertTypeFriendlyName*` 💡 **Service:** `*monitorFriendlyName*` ⌨️ **DNS/IP:** *monitorURL* \n```*alertDetails*```" | |
} | |
// ORIGINAL: | |
// Alert Contact Type: Web-Hooks | |
// URL to Notify: https://discordapp.com/api/webhooks/{WEB_HOOK_ID}/{TOKEN}? | |
// POST Value (JSON Format): | |
{ | |
"content": "Monitor is *alertTypeFriendlyName*: *monitorFriendlyName* ( *monitorURL* )\n```*alertDetails*```" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment