mirror of
https://github.com/gnmyt/myspeed.git
synced 2026-02-09 23:18:37 -06:00
Update integration templates
This commit is contained in:
@@ -2,7 +2,7 @@ const axios = require("axios");
|
||||
const {replaceVariables} = require("../util/helpers");
|
||||
|
||||
const defaults = {
|
||||
finished: ":sparkles: **A speedtest is finished**\n > :ping_pong: `Ping`: %ping% ms\n > :arrow_up: `Upload`: %upload% Mbps\n > :arrow_down: `Download`: %download% Mbps",
|
||||
finished: ":sparkles: **A speedtest is finished**\n > :ping_pong: `Ping`: %ping% ms (±%jitter% ms)\n > :arrow_up: `Upload`: %upload% Mbps\n > :arrow_down: `Download`: %download% Mbps",
|
||||
failed: ":x: **A speedtest has failed**\n > `Reason`: %error%"
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ const axios = require("axios");
|
||||
const {replaceVariables} = require("../util/helpers");
|
||||
|
||||
const defaults = {
|
||||
finished: "A speedtest is finished:\nPing: %ping% ms\nUpload: %upload% Mbps\nDownload: %download% Mbps",
|
||||
finished: "A speedtest is finished:\nPing: %ping% ms (±%jitter% ms)\nUpload: %upload% Mbps\nDownload: %download% Mbps",
|
||||
failed: "A speedtest has failed. Reason: %error%"
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ const {replaceVariables} = require("../util/helpers");
|
||||
const BASE_URL = "https://api.pushover.net/1";
|
||||
|
||||
const defaults = {
|
||||
finished: "A speedtest is finished:\nPing: %ping% ms\nUpload: %upload% Mbps\nDownload: %download% Mbps",
|
||||
finished: "A speedtest is finished:\nPing: %ping% ms (±%jitter% ms)\nUpload: %upload% Mbps\nDownload: %download% Mbps",
|
||||
failed: "A speedtest has failed. Reason: %error%"
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ const axios = require("axios");
|
||||
const {replaceVariables} = require("../util/helpers");
|
||||
|
||||
const defaults = {
|
||||
finished: "✨ *A speedtest is finished*\n🏓 `Ping`: %ping% ms\n🔼 `Upload`: %upload% Mbps\n🔽 `Download`: %download% Mbps",
|
||||
finished: "✨ *A speedtest is finished*\n🏓 `Ping`: %ping% ms (±%jitter% ms)\n🔼 `Upload`: %upload% Mbps\n🔽 `Download`: %download% Mbps",
|
||||
failed: "❌ *A speedtest has failed*\n`Reason`: %error%"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user