Skip to content

Commit

Permalink
Use markdown links for username
Browse files Browse the repository at this point in the history
  • Loading branch information
will-lynas committed Oct 14, 2024
1 parent e1aa07a commit 5de7159
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,11 @@ async fn receive_title(
bot.send_message(
msg.chat.id,
format!(
"*Added transaction*\n\n 🏷️ {}\n 💰 {}\n 🥷 {}",
"*Added transaction*\n\n 🏷️ {}\n 💰 {}\n 🥷 [{}](tg://user?id={})",
title,
markdown::escape(&format_pounds(amount)),
markdown::escape(&name)
markdown::escape(&name),
user_id
),
)
.parse_mode(MarkdownV2)
Expand Down

0 comments on commit 5de7159

Please sign in to comment.