From 9a4561069ea3a794f1d66d0b2ff04d8d1ff20411 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 9 Mar 2026 09:59:49 -0700 Subject: Update restaurants.py --- restaurants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restaurants.py b/restaurants.py index 7c28960..8e57b33 100644 --- a/restaurants.py +++ b/restaurants.py @@ -31,7 +31,7 @@ async def handle_restaurant_command(bot_api, room_id: str, sender: str, body: st stripped = body.strip() lower = stripped.lower() - if ("where to eat" in lower or "what to eat" in lower) and not lower.startswith("!") and self_name in lower: + if ("where to eat" in lower or "what to eat" in lower) and not lower.startswith("!"): pick = db.find_item(CATEGORY) reply = f"🎲 Random pick:\n\n{_format(pick)}" if pick else "No restaurants in the list yet. Use !addrestaurant to add one!" await bot_api.send_text_message(room_id, reply) -- cgit v1.2.3