diff --git a/tutorials/02_run_dvm.py b/tutorials/02_run_dvm.py index 257f442..3094b52 100644 --- a/tutorials/02_run_dvm.py +++ b/tutorials/02_run_dvm.py @@ -80,7 +80,8 @@ if __name__ == '__main__': else: raise FileNotFoundError(f'.env file not found at {env_path} ') - # Replace the identifier with the one from the last notebook, or a new dvmconfig will be stored + #A unique identifier that will be used to store keys in your .env file as well as for your ln address. + # (If its already used it will get some random letters to it) identifier = "tutorial01" # psst, you can change your lightning address here: diff --git a/tutorials/04_simple_chat_bot.py b/tutorials/04_simple_chat_bot.py index 9358dc3..638decf 100644 --- a/tutorials/04_simple_chat_bot.py +++ b/tutorials/04_simple_chat_bot.py @@ -23,8 +23,6 @@ from nostr_dvm.utils.zap_utils import change_ln_address def run_dvm(identifier): - - identifier = "bot_test" bot_config = build_default_config(identifier) # The main purpose is of the Bot is to be an indexable overview of multiple DVMs. But we will use it in "chatbot" mode here # by setting the CHATBOT option to true @@ -39,7 +37,6 @@ def run_dvm(identifier): x = threading.Thread(target=Bot, args=([bot_config, admin_config])) x.start() - # Now you can copy the npub to a Social client of your choice and (if tutorials 2 and 4 are running) it should reply # in your client. @@ -59,8 +56,9 @@ if __name__ == '__main__': else: raise FileNotFoundError(f'.env file not found at {env_path} ') - # Replace the identifier with the one from the last notebook, or a new dvmconfig will be stored - identifier = "tutorial01" + # A unique identifier that will be used to store keys in your .env file as well as for your ln address. + # (If its already used it will get some random letters to it) + identifier = "chat_bot" # psst, you can change your lightning address here: #asyncio.run(change_ln_address(identifier, "test", DVMConfig(), True))