@@ -84,7 +84,7 @@ func (s *statBotState) sendStatToChatAfter(chatID int64, prefix string, t time.T
|
||||
return err
|
||||
}
|
||||
for k, v := range stat {
|
||||
msgText += fmt.Sprintf("- %s: %d\n", k, v)
|
||||
msgText += fmt.Sprintf("- %s: %v\n", k, v)
|
||||
}
|
||||
_, _ = s.bot.Send(tgbot.NewMessage(chatID, msgText))
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user