Skip to content

Instantly share code, notes, and snippets.

@T0biii
Forked from fabianmieller/uptimerobot_discord.js
Last active November 9, 2019 10:23
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save T0biii/b57414561eaf4daaa5c7dda101237dc2 to your computer and use it in GitHub Desktop.
Save T0biii/b57414561eaf4daaa5c7dda101237dc2 to your computer and use it in GitHub Desktop.
Uptime Robot Discord integrations
// 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