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! { 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", "username": "RPC Node Check",
"embeds": [ "embeds": [
{ {
"title": rpcnode_label, "title": "Check Results",
"description": "", "description": "",
"color": status_color, "color": status_color,
"fields": "fields":
fields fields
, ,
"footer": { "footer": {
"text": format!("by groovie on {}", hostname_executed.to_string_lossy()) "text": format!("github: mangorpc-latency-tester, author: groovie")
} }
} }
] ]