Update mesh_bot.py

This commit is contained in:
Nestpebble
2024-09-16 02:30:22 +01:00
committed by GitHub
parent deb5ee8374
commit 453cfbb306

View File

@@ -79,7 +79,7 @@ def handle_ping(message, hop, snr, rssi):
else:
return "🏓PONG, " + hop
def handle_motd(message, message_from_id):
def handle_motd(message, deviceID):
global MOTD
if "$" in message and str(deviceID) in bbs_admin_list:
motd = message.split("$")[1]