Skip to content

Commit

Permalink
feat: make discord message even smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Sep 6, 2024
1 parent 2f97e7a commit d79afdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/discord.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pub async fn send_webhook(url: &str, block: &TunaBlock, tx_hash: &str) -> miette
let epoch = calculate_epoch(block.number);

let embed = CreateEmbed::new()
.title(format!(
"[New Block Mined: #{}](https://cexplorer.io/tx/{})",
.description(format!(
"# [New Block Mined: #{}](https://cexplorer.io/tx/{})",
block.number, tx_hash
))
.field("Epoch", epoch.to_string(), true)
Expand Down

0 comments on commit d79afdf

Please sign in to comment.