diff options
| author | V <vendicated@riseup.net> | 2023-04-01 02:47:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-01 02:47:49 +0200 |
| commit | 6960a439c9c2af261517b00b0b16a7fc5756c48b (patch) | |
| tree | 4e1832c5cc295b26046e193ac5cf60bcd2590568 /src/plugins | |
| parent | 4dff1c5bd5b16e926bc628acf11118344832a374 (diff) | |
| download | Vencord-6960a439c9c2af261517b00b0b16a7fc5756c48b.tar.gz Vencord-6960a439c9c2af261517b00b0b16a7fc5756c48b.tar.bz2 Vencord-6960a439c9c2af261517b00b0b16a7fc5756c48b.zip | |
Add Notification log (#745)
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/crashHandler.ts | 2 | ||||
| -rw-r--r-- | src/plugins/devCompanion.dev.tsx | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/plugins/crashHandler.ts b/src/plugins/crashHandler.ts index 6457e09..61b06b3 100644 --- a/src/plugins/crashHandler.ts +++ b/src/plugins/crashHandler.ts @@ -78,6 +78,7 @@ export default definePlugin({ color: "#eed202", title: "Discord has crashed!", body: "Awn :( Discord has crashed more than five times, not attempting to recover.", + noPersist: true, }); } catch { } @@ -111,6 +112,7 @@ export default definePlugin({ color: "#eed202", title: "Discord has crashed!", body: "Attempting to recover...", + noPersist: true, }); } catch { } } diff --git a/src/plugins/devCompanion.dev.tsx b/src/plugins/devCompanion.dev.tsx index b9a7e4d..c675fc2 100644 --- a/src/plugins/devCompanion.dev.tsx +++ b/src/plugins/devCompanion.dev.tsx @@ -116,7 +116,8 @@ function initWs(isManual = false) { showNotification({ title: "Dev Companion Error", body: (e as ErrorEvent).message || "No Error Message", - color: "var(--status-danger, red)" + color: "var(--status-danger, red)", + noPersist: true, }); }); @@ -128,7 +129,8 @@ function initWs(isManual = false) { showNotification({ title: "Dev Companion Disconnected", body: e.reason || "No Reason provided", - color: "var(--status-danger, red)" + color: "var(--status-danger, red)", + noPersist: true, }); }); |
