From eb636a8066adbeaba216d994b755cc188a6288ad Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 13 Aug 2026 21:06:37 -0700 Subject: remove games feature --- bot.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'bot.py') diff --git a/bot.py b/bot.py index bc44cb1..ce99725 100644 --- a/bot.py +++ b/bot.py @@ -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() -- cgit v1.2.3