diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-08-13 21:06:37 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-08-13 21:06:37 -0700 |
| commit | eb636a8066adbeaba216d994b755cc188a6288ad (patch) | |
| tree | 1f6b7d6950b0dcc38bebd1d6b1ef30e885da4660 /bot.py | |
| parent | 16f6c75096f5a7d3c87f08e1b670fa87166dfea4 (diff) | |
Diffstat (limited to 'bot.py')
| -rw-r--r-- | bot.py | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -3,7 +3,6 @@ import os from dotenv import load_dotenv import constants import restaurants -import games load_dotenv() @@ -17,7 +16,6 @@ creds = botlib.Creds(homeserver=HOMESERVER, username=USERNAME, access_token=ACCE bot = botlib.Bot(creds) restaurants.init_db() -games.init_db() @bot.listener.on_message_event @@ -30,9 +28,6 @@ async def trigger_responses(room, message): if await restaurants.handle_restaurant_command(bot.api, room.room_id, message.sender, message.body, SELF): return - if await games.handle_game_command(bot.api, room.room_id, message.sender, message.body, SELF): - return - msg_text = message.body.strip().lower() cleaned = ''.join(ch if ch.isalnum() else ' ' for ch in msg_text) words = cleaned.split() |
