add AddUserInChat

This commit is contained in:
2022-04-25 02:57:53 +07:00
parent c4a39056d8
commit 9d5b5c2a2f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ func run() {
command := commands.Command(strings.Replace(text, opts.Name, "", 1))
switch command {
case commands.Start:
_, _ = bot.Send(tgbot.NewMessage(chatID, fmt.Sprintf("Здравствуйте, я Волтер (v1.0.2), ваш дворецкий (%d).", chatID)))
_, _ = bot.Send(tgbot.NewMessage(chatID, fmt.Sprintf("Здравствуйте, я Волтер (v1.1.0), ваш дворецкий (%d).", chatID)))
_ = db.AddChat(chatID)
case commands.Help:
_, _ = bot.Send(tgbot.NewMessage(chatID, "Вот что я умею:\n\n1) Позвать всех"))