From 08c84f57d365cfca6b4d3cafb7ec04af66ddf532 Mon Sep 17 00:00:00 2001 From: watn3y Date: Fri, 27 Oct 2023 01:20:32 +0200 Subject: [PATCH] Minor fix --- commands/gaypoints/gaypoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/gaypoints/gaypoints.go b/commands/gaypoints/gaypoints.go index a564223..153393d 100644 --- a/commands/gaypoints/gaypoints.go +++ b/commands/gaypoints/gaypoints.go @@ -61,7 +61,7 @@ func GetGP(update tgbotapi.Update, bot *tgbotapi.BotAPI) { for _, gaypointInfo := range gps { errorGettingUser, currentUser := botIO.GetUserByID(tgbotapi.ChatConfigWithUser{ChatID: update.Message.Chat.ID, UserID: gaypointInfo.userID}, bot) if errorGettingUser { - log.Error().Int64("user", update.Message.ReplyToMessage.From.ID).Int64("chat", update.Message.Chat.ID).Msg("error getting details for user") + log.Error().Int64("user", update.Message.From.ID).Int64("chat", update.Message.Chat.ID).Msg("error getting details for user") continue } currentName := currentUser.User.FirstName