mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-07 09:22:44 +02:00
added help text to history
This commit is contained in:
+2
-3
@@ -562,9 +562,8 @@ def handle_history(message, nodeid, deviceID, isDM, lheard=False):
|
||||
if "?" in message and isDM:
|
||||
msg = "List of recent commands this node has received."
|
||||
return msg
|
||||
else:
|
||||
# show the last commands from the user to the bot
|
||||
if not lheard:
|
||||
# show the last commands from the user to the bot
|
||||
elif not lheard:
|
||||
for i in range(len(cmdHistory)):
|
||||
prettyTime = round((time.time() - cmdHistory[i]['time']) / 600) * 5
|
||||
if prettyTime < 60:
|
||||
|
||||
Reference in New Issue
Block a user