diff --git a/main.go b/main.go index 08c5106..04eddb3 100644 --- a/main.go +++ b/main.go @@ -83,6 +83,9 @@ func run() { if strings.Contains(strings.ToLower(text), tag) { users, _ := db.GetUsers(chatID) + for _, user := range users { + _, _ = bot.Send(tgbot.NewMessage(chatID, "@"+user)) + } _, _ = bot.Send(tgbot.NewMessage(chatID, "@"+strings.Join(users, " @"))) }