This commit is contained in:
Nestpebble
2024-09-26 14:31:58 +01:00
parent 8540786c2c
commit c90172a862

View File

@@ -549,7 +549,7 @@ def handle_lheard(message, nodeid, deviceID, isDM):
if interface2_enabled and not batteryLevel2 == 101:
bot_response += f" P2: Bat: {batteryLevel2}% Volt: {voltage2}"
# show last users of the bot with the cmdHistory list
history = handle_history(nodeid, deviceID, lheard=True)
history = handle_history(message, nodeid, deviceID, isDM, lheard=True)
if history:
bot_response += f'\n{history}'
return bot_response