updating templates
This commit is contained in:
@@ -33,8 +33,7 @@ Template Functions Available:
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
}{{if .timestamp}},
|
||||
"timestamp": "{{formatTime .timestamp}}"{{end}}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@@ -30,8 +30,7 @@ Variables expected:
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
},
|
||||
"timestamp": "{{formatTime .timestamp}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -17,14 +17,13 @@ Template Functions Available:
|
||||
"fields": [
|
||||
{
|
||||
"name": "⏱️ Time Taken",
|
||||
"value": "{{if .time}}{{formatTime .time}}{{else}}Unknown{{end}} seconds",
|
||||
"value": "{{if .time}}{{.time}}{{else}}Unknown{{end}} seconds",
|
||||
"inline": true
|
||||
}
|
||||
],
|
||||
"footer": {
|
||||
"text": "✨ Haven Notify ✨"
|
||||
},
|
||||
"timestamp": "{{formatTime .timestamp}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user