diff --git a/palworld-bridge.js b/palworld-bridge.js index 6fd1421..dbacb74 100644 --- a/palworld-bridge.js +++ b/palworld-bridge.js @@ -123,7 +123,10 @@ const parsePalworldChatAndSend = async (log) => { console.log(`⏭️ [BRIDGE] Commande !lier ignorée`); return; } - + if (messageContent.toLowerCase().startsWith('!')) { + console.log(`⏭️ [BRIDGE] Message ignoré (commence par !)`); + return; + } try { // Récupérer le salon console.log(`🔍 [BRIDGE] Récupération du salon ${bridgeChannelId}...`);