Bot Discord - Commit completo con todos los cambios

This commit is contained in:
Admin
2026-01-16 20:24:38 -06:00
commit cf8ecfcf64
151 changed files with 28808 additions and 0 deletions

10
includes/logger.php Executable file
View File

@@ -0,0 +1,10 @@
<?php
// Función de depuración personalizada
if (!function_exists('custom_log')) {
function custom_log($message) {
$logFile = __DIR__ . '/../logs/custom_debug.log'; // Adjust path as needed
$timestamp = date('Y-m-d H:i:s');
file_put_contents('php://stderr', "[$timestamp] $message\n", FILE_APPEND);
}
}
?>