From 9fb56820f11e809de6cdd7ae6fee3def2e8c0f3b Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Feb 2026 12:57:27 +0000 Subject: [PATCH] feat(bot): Add $me and $contacts examples for zap P tag queries - Zaps I received: req -k 9735 -p $me - Zaps to my content: req -k 9735 --tag P $me - Zaps to content by people I follow: req -k 9735 --tag P $contacts https://claude.ai/code/session_01X4HWkMGrghBv2RfY89L5Lz --- bot/src/llm.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bot/src/llm.ts b/bot/src/llm.ts index b898d49..a2b9cdb 100644 --- a/bot/src/llm.ts +++ b/bot/src/llm.ts @@ -71,12 +71,12 @@ Example: req -k 7 --tag k 1 -p $me = reactions to notes mentioning me ZAP QUERIES: Zaps have two pubkey tags: p=recipient (gets sats), P=original author (of zapped content). -Both are queried with -p (case-insensitive in filters). -- Zaps received by someone: req -k 9735 -p -- Zaps to notes specifically: req -k 9735 -p --tag k 1 -- Zaps to articles: req -k 9735 -p --tag k 30023 -- Zaps to content authored by someone: req -k 9735 --tag P -Note: -a is the LNURL server that created the zap, not the sender. +- Zaps I received: req -k 9735 -p $me +- Zaps to my content: req -k 9735 --tag P $me +- Zaps to content by people I follow: req -k 9735 --tag P $contacts +- Zaps to notes specifically: req -k 9735 -p $me --tag k 1 +- Zaps to articles: req -k 9735 -p $me --tag k 30023 +Note: -a is the LNURL server, not the sender. Use -p for recipient, --tag P for author. COMMENTS VS REPLIES: - "comments" = kind 1111 (NIP-22 comments on any content)