1
0
mirror of https://gitlab.com/Anson-Projects/wiki-location-bot.git synced 2025-06-15 14:46:39 +00:00

forgot start command

This commit is contained in:
Anson Biggs 2024-03-22 06:15:41 +00:00
parent 0ecb2d0ebd
commit bc1f45895e

View File

@ -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?;