diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2026-03-09 09:59:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-09 09:59:49 -0700 |
| commit | 9a4561069ea3a794f1d66d0b2ff04d8d1ff20411 (patch) | |
| tree | d23b4d57bd5bf82d0dd93887c6d31cb51ea0a47b | |
| parent | 4ce98a9e6fd95da53fd03430903496c34ef3d118 (diff) | |
Update restaurants.py
| -rw-r--r-- | restaurants.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
