This commit is contained in:
Alex Holliday committed 2026-01-19 20:12:54 +00:00
1 parent 9006707e57
commit 1d36f40caf
4 files changed
+39 -7

No files matched your search

@@ -1,7 +1,7 @@
import type { Monitor, Notification, MonitorStatusResponse } from "@/types/index.js";
import { INotificationProvider } from "@/service/index.js";
import { buildHardwareAlerts, buildDiscordBody } from "@/service/infrastructure/notificationProviders/utils.js";
import got, { HTTPError } from "got";
import got from "got";
export class DiscordProvider implements INotificationProvider {
private getHardwareContent = (monitor: Monitor, monitorStatusResponse: MonitorStatusResponse) => {