diff --git a/README.md b/README.md index fbfa4e1..6bbd80c 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ other features - `bbshelp` returns the following - `bbslist` list the messages by ID and subject - `bbsread` read a message example use: `bbsread #1` - - `bbspost` post a message to public board or send a DM example use: `bbspost $subject #message, or bbspost @node #message` + - `bbspost` post a message to public board or send a DM example use: `bbspost $subject #message, or bbspost @nodeNumber #message` - `bbsdelete` delete a message example use: `bbsdelete #4` - Other functions - `whereami` returns the address of location of sender if known diff --git a/mesh_bot.py b/mesh_bot.py index b4c8fcf..412d79f 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -186,9 +186,9 @@ def auto_response(message, snr, rssi, hop, message_from_id): body = message.split("#")[1] bot_response = bbs_post_dm(toNode, body, message_from_id) else: - bot_response = "example: bbspost @node #message" + bot_response = "example: bbspost @nodeNumber #message" else: - bot_response = "example: bbspost $subject #message, or bbspost @node #message" + bot_response = "example: bbspost $subject #message, or bbspost @nodeNumber #message" elif "bbsread" in message.lower(): # Check if the user added a message number to the message diff --git a/modules/bbstools.py b/modules/bbstools.py index d798e16..e1d8593 100644 --- a/modules/bbstools.py +++ b/modules/bbstools.py @@ -102,7 +102,7 @@ def bbs_read_message(messageID = 0): def save_bbsdm(): global bbs_dm # save the bbs messages to the database file - print ("System: Saving Direct Messages bbsdm.pkl\n") + print ("System: Saving Updated BBS Direct Messages bbsdm.pkl") with open('bbsdm.pkl', 'wb') as f: pickle.dump(bbs_dm, f)