add /start and /ping commands

This commit is contained in:
Владимир Фёдоров 2022-04-03 18:17:30 +07:00
parent cd1e9c27e9
commit ef59416ab6
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ func run() {
case commands.Help:
_, _ = bot.Send(tgbot.NewMessage(chatID, "Вот что я умею:\n\n1) Позвать всех"))
case commands.Ping:
_, _ = bot.Send(tgbot.NewMessage(chatID, "pong"))
_, _ = bot.Send(tgbot.NewMessage(chatID, "pong v2"))
}
}
}