mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
ping pong
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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