From bf81f7d0b930fa47c984b977c04f78fe1cd31af6 Mon Sep 17 00:00:00 2001 From: Christian Gick Date: Thu, 19 Feb 2026 10:11:09 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Remove=20!ai=20memory=20command=20?= =?UTF-8?q?=E2=80=94=20natural=20conversation=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.6 --- bot.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/bot.py b/bot.py index 6dd402d..6df1b07 100644 --- a/bot.py +++ b/bot.py @@ -105,7 +105,6 @@ HELP_TEXT = """**AI Bot Commands** - `!ai wildfiles connect` — Connect your WildFiles account (opens browser approval) - `!ai wildfiles disconnect` — Disconnect your WildFiles account - `!ai auto-rename on|off` — Auto-rename room based on conversation topic -- `!ai memory ` — Explicitly tell the bot to remember something - `!ai forget` — Delete all memories the bot has about you - `!ai memories` — Show what the bot remembers about you - **Translate**: Forward a message to this DM — bot detects language and offers translation @@ -950,21 +949,6 @@ class Bot: status = "enabled" if enabled else "disabled" await self._send_text(room.room_id, f"Auto-rename **{status}** for this room.") - elif cmd.startswith("memory "): - fact = cmd[7:].strip() - sender = event.sender if event else None - if not fact: - await self._send_text(room.room_id, "Usage: `!ai memory `") - return - if sender: - memories = self._load_memories(sender) - memories.append({"fact": fact, "created": time.time(), "source_room": room.room_id}) - self._save_memories(sender, memories) - await self._send_text(room.room_id, f"Remembered: {fact}") - logger.info("Explicit memory stored for %s: %s", sender, fact[:80]) - else: - await self._send_text(room.room_id, "Could not identify user.") - elif cmd == "forget": sender = event.sender if event else None if sender: