tweak discord

This commit is contained in:
GroovieGermanikus 2024-06-07 10:04:23 +02:00
parent 29d0807647
commit b5a81eca9d
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
2 changed files with 4 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -190,18 +190,19 @@ fn create_discord_message(
let body = json! {
{
"content": "Automatic RPC Node check script notification",
"content": format!("RPC Node Check for <{}>", rpcnode_label),
"description": format!("executed on {}", hostname_executed.to_string_lossy()),
"username": "RPC Node Check",
"embeds": [
{
"title": rpcnode_label,
"title": "Check Results",
"description": "",
"color": status_color,
"fields":
fields
,
"footer": {
"text": format!("by groovie on {}", hostname_executed.to_string_lossy())
"text": format!("github: mangorpc-latency-tester, author: groovie")
}
}
]