Improve logs
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user