mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-29 04:56:26 +01:00
add lmdb database, update to new sdk
This commit is contained in:
@@ -70,7 +70,7 @@ async def nostr_client():
|
||||
print(f"Received new event from {relay_url}: {event.as_json()}")
|
||||
if event.kind() == 7000:
|
||||
print("[Nostr Client]: " + event.as_json())
|
||||
elif 6000 < event.kind().as_u64() < 6999:
|
||||
elif 6000 < event.kind().as_u16() < 6999:
|
||||
print("[Nostr Client " + event.author().to_bech32() + "]: " + event.as_json())
|
||||
print("[Nostr Client " + event.author().to_bech32() + "]: " + event.content())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user