DEBUGpackets, debugMetadata hidden config.ini values
This commit is contained in:
SpudGunMan
2025-09-24 15:16:37 -07:00
parent 99acaf28a1
commit f79026a95f
2 changed files with 2 additions and 3 deletions
+1 -3
View File
@@ -17,9 +17,7 @@ from modules.system import *
# list of commands to remove from the default list for DM only
restrictedCommands = ["blackjack", "videopoker", "dopewars", "lemonstand", "golfsim", "mastermind", "hangman", "hamtest"]
restrictedResponse = "🤖only available in a Direct Message📵" # "" for none
# Global Variables
DEBUGpacket = False # Debug print the packet rx
cmdHistory = [] # list to hold the command history for lheard and history commands
def auto_response(message, snr, rssi, hop, pkiStatus, message_from_id, channel_number, deviceID, isDM):
global cmdHistory
+1
View File
@@ -373,6 +373,7 @@ try:
maxBuffer = config['messagingSettings'].getint('maxBuffer', 200) # default 200
enableHopLogs = config['messagingSettings'].getboolean('enableHopLogs', False) # default False
debugMetadata = config['messagingSettings'].getboolean('debugMetadata', False) # default False
DEBUGpackets = config['messagingSettings'].getboolean('DEBUGpackets', False) # default False
noisyNodeLogging = config['messagingSettings'].getboolean('noisyNodeLogging', False) # default False
noisyTelemetryLimit = config['messagingSettings'].getint('noisyTelemetryLimit', 5) # default 5 packets
except Exception as e: