mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-06-13 01:44:43 +02:00
ping pong
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ def auto_response(message, snr, rssi, hop, message_from_id):
|
||||
elif "testing" in message.lower():
|
||||
bot_response = "Testing 1,2,3"
|
||||
elif "pong" in message.lower():
|
||||
bot_response = "PING!!"
|
||||
bot_response = "P-I-N-G!!"
|
||||
elif "motd" in message.lower():
|
||||
#check if the user wants to set the motd by using $
|
||||
if "$" in message:
|
||||
|
||||
+1
-1
@@ -51,7 +51,7 @@ def auto_response(message, snr, rssi, hop):
|
||||
elif "testing" in message.lower():
|
||||
bot_response = "Testing 1,2,3"
|
||||
elif "pong" in message.lower():
|
||||
bot_response = "PING!!"
|
||||
bot_response = "P-I-N-G!!"
|
||||
elif "motd" in message.lower():
|
||||
# check if the user wants to set the motd by using $
|
||||
if "$" in message:
|
||||
|
||||
Reference in New Issue
Block a user