Improve logs

This commit is contained in:
2025-08-14 11:08:31 +03:00
parent 85db17b131
commit 121585f807
3 changed files with 9 additions and 6 deletions

View File

@@ -68,6 +68,9 @@ func (c *TelegramController) Start() {
continue
}
author := update.Message.From.String()
c.logger.Info("New incoming message", "author", author)
// Handle commands
if update.Message.IsCommand() {
// Extract the command from the Message