From 453cfbb306a63e8d1b0eff0717f541fd93a02a0d Mon Sep 17 00:00:00 2001 From: Nestpebble <116762865+Nestpebble@users.noreply.github.com> Date: Mon, 16 Sep 2024 02:30:22 +0100 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index 32efd1c..8477bc4 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -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]