Skip to content

Commit

Permalink
Add bold for added transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
will-lynas committed Oct 13, 2024
1 parent ae9969b commit 151b5ce
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@ use dptree::case;
use sqlx::sqlite::SqlitePool;
use teloxide::{
dispatching::{
dialogue,
dialogue::InMemStorage,
dialogue::{
self,
InMemStorage,
},
UpdateFilterExt,
UpdateHandler,
},
prelude::*,
types::ParseMode::MarkdownV2,
utils::command::BotCommands,
};

Expand Down Expand Up @@ -189,10 +192,11 @@ async fn receive_title(
bot.send_message(
msg.chat.id,
format!(
"Added transaction:\n\n 📘 {}\n 💰 {}\n 🥷 {}",
"**Added transaction**\n\n 📘 {}\n 💰 {}\n 🥷 {}",
title, amount, user.first_name
),
)
.parse_mode(MarkdownV2)
.await
.unwrap();

Expand Down

0 comments on commit 151b5ce

Please sign in to comment.