adjustments for nostrsdk 0.39

This commit is contained in:
dbth
2025-02-01 19:35:39 +01:00
parent 86d96a4772
commit f9b68d3b6d
49 changed files with 183 additions and 148 deletions

View File

@@ -70,18 +70,14 @@ def playground():
bot_config.SUPPORTED_DVMS.append(translator) # We add translator to the bot
framework.add(translator)
framework.run()
admin_config = AdminConfig()
admin_config.REBROADCAST_NIP65_RELAY_LIST = True
admin_config.UPDATE_PROFILE = True
x = threading.Thread(target=Bot, args=([bot_config, admin_config]))
x.start()
# Keep the main function alive for libraries that require it, like openai
# keep_alive()
framework.run()