From 4bcc6ef1f2ea53d7520f80c1ea82148c65c05954 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Mon, 30 Sep 2024 02:57:46 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mesh_bot.py b/mesh_bot.py index f5b0465..ee70d6c 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -10,7 +10,7 @@ from modules.log import * from modules.system import * # list of commands to remove from the default list for DM only -restrictedCommands = ["blackjack", "videopoker", "dopewars", "lemonstand"] +restrictedCommands = ["blackjack", "videopoker", "dopewars", "lemonstand", "golfsim", "mastermind"] restrictedResponse = "🤖only available in a Direct Message📵" # "" for none # Global Variables @@ -751,6 +751,7 @@ def checkPlayingGame(message_from_id, message_string, rxNode, channel_number): else: # pop if the time exceeds 8 hours vpTracker.pop(i) + for i in range(0, len(jackTracker)): if jackTracker[i].get('nodeID') == message_from_id: # check if the player has played in the last 8 hours