From bc1f45895e29a992353c1782d7846d67390e88b0 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Fri, 22 Mar 2024 06:15:41 +0000 Subject: [PATCH] forgot start command --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 30c610d..0169ddf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -47,7 +47,7 @@ async fn main() { } MediaKind::Text(media_text) => { let text = &media_text.text; - if text.contains("/help") { + if text.contains("/help") || text.contains("/start") { bot.send_message(msg.chat.id, help_text()) .parse_mode(teloxide::types::ParseMode::MarkdownV2) .await?;