diff --git a/consoleMonitor.js b/consoleMonitor.js index 8640721..3185b22 100644 --- a/consoleMonitor.js +++ b/consoleMonitor.js @@ -35,7 +35,7 @@ const parseLogMessage = (log) => { // Détecter les déconnexions: [2025-12-09 18:55:19] [LOG] Nami left the server. (User id: gdk_2535420062888893) const disconnectRegex = /\[.*?\]\s*\[LOG\]\s*(.+?)\s+left the server\.\s*\(User id:\s*(.+?)\)/i; const disconnectMatch = log.match(disconnectRegex); - + console.log(disconnectMatch); if (disconnectMatch) { const playerName = disconnectMatch[1].trim(); const userId = disconnectMatch[2].trim();