From 669e515061821e8bdce9559abc34e9a3a0b6f723 Mon Sep 17 00:00:00 2001 From: Astra Date: Mon, 14 Sep 2026 12:12:13 +0100 Subject: [PATCH] botfather: fix two remaining call sites after branding rebase botFatherHelpText became a func() string during the rebase onto upstream (matching upstream's own runtime-configurable-branding-safe pattern); two call sites still referenced it as a bare value. Co-Authored-By: Claude Sonnet 5 --- internal/app/bots/botfather.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/app/bots/botfather.go b/internal/app/bots/botfather.go index 6dd7dcbb..7f6fb065 100644 --- a/internal/app/bots/botfather.go +++ b/internal/app/bots/botfather.go @@ -388,7 +388,7 @@ func (s *Service) handleBotFatherStart(ctx context.Context, userID int64, arg st _ = s.bots.DeleteBotChatState(ctx, domain.BotFatherUserID, userID) want := strings.ToLower(strings.TrimPrefix(strings.TrimSpace(arg), "@")) if want == "" { - return botReply{Text: botFatherHelpText} + return botReply{Text: botFatherHelpText()} } owned, err := s.ownedBots(ctx, userID) if err != nil { @@ -411,7 +411,7 @@ func (s *Service) handleBotFatherStart(ctx context.Context, userID int64, arg st return reply } } - return botReply{Text: botFatherHelpText} + return botReply{Text: botFatherHelpText()} } func (s *Service) handleBotFatherCommand(ctx context.Context, userID int64, cmd string) botReply {