mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Fix
This commit is contained in:
6
Cargo.lock
generated
6
Cargo.lock
generated
@@ -372,12 +372,12 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ctrlc"
|
||||
version = "3.2.5"
|
||||
version = "3.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bbcf33c2a618cbe41ee43ae6e9f2e48368cd9f9db2896f10167d8d762679f639"
|
||||
checksum = "04d778600249295e82b6ab12e291ed9029407efee0cfb7baf67157edc65964df"
|
||||
dependencies = [
|
||||
"nix",
|
||||
"windows-sys 0.45.0",
|
||||
"windows-sys 0.48.0",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
||||
@@ -16,7 +16,7 @@ pub async fn support_command_handler(message: Message, bot: CacheMe<Throttle<Bot
|
||||
let username = &message.from().unwrap().first_name;
|
||||
|
||||
let message_text = format!("
|
||||
Привет, {:?}!
|
||||
Привет, {username}!
|
||||
|
||||
Этот бот существует благодаря пожертвованиям от наших пользователей.
|
||||
Однако, для его дальнейшего развития и поддержки серверов требуются финансовые средства.
|
||||
@@ -25,12 +25,12 @@ pub async fn support_command_handler(message: Message, bot: CacheMe<Throttle<Bot
|
||||
Спасибо!
|
||||
|
||||
Тинькофф/Сбербанк:
|
||||
`+79534966556`
|
||||
", username);
|
||||
<pre>+79534966556</pre>
|
||||
");
|
||||
|
||||
bot
|
||||
.send_message(message.chat.id, message_text)
|
||||
.parse_mode(teloxide::types::ParseMode::MarkdownV2)
|
||||
.parse_mode(teloxide::types::ParseMode::Html)
|
||||
.await?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user