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:
parent
0ecb2d0ebd
commit
bc1f45895e
@ -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?;
|
||||
|
Loading…
x
Reference in New Issue
Block a user