diff --git a/bot.go b/bot.go index e640a8d..597acb0 100644 --- a/bot.go +++ b/bot.go @@ -419,7 +419,7 @@ func handleNewMessage(ctx context.Context, api *tg.Client, alertPeer *tg.InputPe // Build alert message with HTML formatting for markdown v2 matchMessageHTML := fmt.Sprintf("🚨 Matched\nScore: %.2f\nChat: %s (ID: %d)\nUser: %s (ID: %d)\n", - result.score, escapeMarkdown(chatName), chatID, escapeMarkdown(displayName+" ("+username+")"), senderID) + result.score, escapeMarkdown(chatName), chatID, displayName+" ("+username+")", senderID) // Send ntfy notification if config set (use plain text for ntfy) if cfg.NtfyToken != "" || cfg.NtfyTopic != "" {