diff --git a/app.js b/app.js index d8cef2c..8bd6124 100644 --- a/app.js +++ b/app.js @@ -2963,6 +2963,14 @@ init().then(() => { } } } + + // Mine chat on send + document.getElementById('chat-send-btn').addEventListener('click', () => { + mineChatToMemPalace(); + }); + + // Auto-mine chat every 30s + setInterval(mineChatToMemPalace, 30000); // Update UI status function updateMemPalaceStatus() { diff --git a/index.html b/index.html index 93035d3..88bd2fd 100644 --- a/index.html +++ b/index.html @@ -327,7 +327,7 @@