mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-10-10 23:52:28 +02:00
move set_options to class, improve print messages, colored print messages
This commit is contained in:
@@ -211,8 +211,7 @@ def update_profile(dvm_config, client, lud16=""):
|
||||
.set_lud16(lud16) \
|
||||
.set_nip05(lud16)
|
||||
# .set_banner("https://example.com/banner.png") \
|
||||
|
||||
print(f"Setting profile metadata for {keys.public_key().to_bech32()}...")
|
||||
print("[" + dvm_config.NIP89.NAME + "] Setting profile metadata for " + keys.public_key().to_bech32() + "...")
|
||||
print(metadata.as_json())
|
||||
client.set_metadata(metadata)
|
||||
|
||||
|
Reference in New Issue
Block a user