From 41faa8ede83c6a5fafbd6c1d30d7daf2f64dc3ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=A4?= =?UTF-8?q?=D0=B5=D0=B4=D0=BE=D1=80=D0=BE=D0=B2?= Date: Mon, 25 Apr 2022 02:39:48 +0700 Subject: [PATCH] add AddChat on /start --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 6eeeeb8..ffa225a 100644 --- a/main.go +++ b/main.go @@ -88,7 +88,7 @@ func run() { command := commands.Command(strings.Replace(text, opts.Name, "", 1)) switch command { case commands.Start: - _, _ = bot.Send(tgbot.NewMessage(chatID, "Здравствуйте, я Волтер (v1.0.1), ваш дворецкий.")) + _, _ = bot.Send(tgbot.NewMessage(chatID, fmt.Sprintf("Здравствуйте, я Волтер (v1.0.2), ваш дворецкий (%d).", chatID))) _ = db.AddChat(chatID) case commands.Help: _, _ = bot.Send(tgbot.NewMessage(chatID, "Вот что я умею:\n\n1) Позвать всех"))