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