feat: Add debug logging for blocked shell commands in Teto AI

This commit is contained in:
Slipstream 2025-05-19 21:27:29 -06:00
parent 90c024acce
commit 9054471707
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -102,6 +102,7 @@ class TetoCog(commands.Cog):
command_lower = command.lower()
for pattern in dangerous_patterns:
if re.search(pattern, command_lower):
print(f"[TETO DEBUG] Blocked command '{command}' due to matching pattern: '{pattern}'")
return True
return False