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:
Believethehype
2023-12-03 22:05:53 +01:00
parent 26dab119c3
commit 091fe10a94
16 changed files with 120 additions and 28 deletions

View File

@@ -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()