feat: Add monitor name to notification titles
This commit is contained in:
1 parent
daf5797fed
commit
ce025df7b7
2 files changed
+5
-3
No files matched your search
@@ -74,7 +74,9 @@ class NotificationUtils {
|
||||
let discordMessageText = {
|
||||
embeds: [
|
||||
{
|
||||
title: status ? dn.uptimeAlert : dn.downtimeAlert,
|
||||
title: status
|
||||
? dn.uptimeAlert.replace("{monitorName}", monitor?.name ?? dn.unknown)
|
||||
: dn.downtimeAlert.replace("{monitorName}", monitor?.name ?? dn.unknown),
|
||||
color: status ? 5763719 : 15548997,
|
||||
|
||||
fields: [
|
||||
|
||||
Reference in new issue
Block a user