Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-09-30 02:57:46 -07:00
parent 77e56c25ae
commit 4bcc6ef1f2
+2 -1
View File
@@ -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