From ef10de920a4abb982703d13b9f97cd6797d155ec Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 12 Jun 2024 00:29:13 -0700 Subject: [PATCH] Update pong-bot.py --- pong-bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pong-bot.py b/pong-bot.py index bf9c852..9fa66b2 100644 --- a/pong-bot.py +++ b/pong-bot.py @@ -7,7 +7,7 @@ import meshtastic.serial_interface # requirements pip install meshtastic from pubsub import pub trap_list = ("ping","testing") #A list of strings to trap and respond to -help_message = "PongBot, here for you like a friend who is not" +help_message = "PongBot, here for you like a friend who is not. Try ping@foo" try: interface = meshtastic.serial_interface.SerialInterface() @@ -22,7 +22,7 @@ def auto_response(message): message_list=message.split("@") query_data=message_list[1] print(f"System: parsed command {query_data}") - message_to_send="Pong, and copy "+ query_data + message_to_send="Pong, and copy " + query_data except Exception: message_to_send="Pong" return message_to_send