mirror of
https://github.com/ZareMate/kubejs.git
synced 2026-11-12 14:20:29 +00:00
fix: small leftovers
This commit is contained in:
+4
-4
@@ -147,14 +147,14 @@ function sendDiscordNotification(player, otherPlayers) {
|
|||||||
":S>",
|
":S>",
|
||||||
color: 3447003,
|
color: 3447003,
|
||||||
footer: {
|
footer: {
|
||||||
text: "Sputnik watch",
|
text: "Multi-Account Watch",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("[SputnikWatch] Failed to send webhook: " + e);
|
console.error("[Multi-Account Watch] Failed to send webhook: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -217,7 +217,7 @@ function sendCheckIPWebhook(player, groups) {
|
|||||||
":S>",
|
":S>",
|
||||||
color: 3447003,
|
color: 3447003,
|
||||||
footer: {
|
footer: {
|
||||||
text: "Sputnik watch",
|
text: "Multi-Account watch",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
@@ -226,7 +226,7 @@ function sendCheckIPWebhook(player, groups) {
|
|||||||
|
|
||||||
console.log("[Multi-Account] /checkip results sent to Discord.");
|
console.log("[Multi-Account] /checkip results sent to Discord.");
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("[SputnikWatch] Failed to send /checkip webhook: " + e);
|
console.error("[Multi-Account Watch] Failed to send /checkip webhook: " + e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user