diff --git a/modules/event.py b/modules/event.py index f26e686..3ed0b70 100644 --- a/modules/event.py +++ b/modules/event.py @@ -13,6 +13,7 @@ from pyrogram.types import Message, User from pyrogram.enums import ParseMode from app import app +from modules.logging import logWrite from modules.utils import configGet collections = db.list_collection_names() @@ -31,6 +32,9 @@ async def stage_passer( return False if col_event.find_one({"user": user.id, "stage": current}) is None: + logWrite( + f"User {user.first_name} ({user.id}) has completed event stage {current}" + ) col_event.insert_one( {"user": user.id, "stage": current, "date": datetime.now()} )