mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-20 23:06:43 +01:00
add paramters to signal if encryption and cashu are supported and show them in the bot
(might need to be renamed if convention says other)
This commit is contained in:
@@ -168,6 +168,8 @@ def build_example(name, identifier, admin_config):
|
||||
"name": name,
|
||||
"image": "https://image.nostr.build/c33ca6fc4cc038ca4adb46fdfdfda34951656f87ee364ef59095bae1495ce669.jpg",
|
||||
"about": "I search notes",
|
||||
"encryptionSupported": True,
|
||||
"cashuAccepted": True,
|
||||
"nip90Params": nip90params
|
||||
}
|
||||
|
||||
@@ -193,7 +195,7 @@ if __name__ == '__main__':
|
||||
admin_config.UPDATE_PROFILE = False
|
||||
admin_config.LUD16 = ""
|
||||
|
||||
dvm = build_example("advanced_search", "discovery_content_search", admin_config)
|
||||
dvm = build_example("Advanced Nostr Search", "discovery_content_search", admin_config)
|
||||
dvm.run()
|
||||
|
||||
keep_alive()
|
||||
|
||||
Reference in New Issue
Block a user