tweak discord
This commit is contained in:
parent
29d0807647
commit
b5a81eca9d
BIN
discord1.png
BIN
discord1.png
Binary file not shown.
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 48 KiB |
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue