mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-06 18:01:18 +02:00
Update mesh_bot.py
This commit is contained in:
+2
-1
@@ -106,7 +106,8 @@ def auto_response(message, snr, rssi, hop, message_from_id, channel_number, devi
|
||||
subject = subject.rstrip()
|
||||
if "#" in message:
|
||||
body = message.split("#")[1]
|
||||
body = message.rstrip()
|
||||
body = body.rstrip()
|
||||
print(f"{log_timestamp()} System: BBS Post: {subject} Body: {body}")
|
||||
bot_response = bbs_post_message(subject,body,message_from_id)
|
||||
else:
|
||||
bot_response = "example: bbspost $subject #message"
|
||||
|
||||
Reference in New Issue
Block a user