From 3b22cb01302ff8f020f84c546615b89bc41a9207 Mon Sep 17 00:00:00 2001 From: Profitroll <47523801+profitrollgame@users.noreply.github.com> Date: Sun, 11 Dec 2022 23:32:35 +0100 Subject: [PATCH] Using HoloUser --- modules/handlers/welcome.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/handlers/welcome.py b/modules/handlers/welcome.py index 6c5f5fc..a484ac1 100644 --- a/modules/handlers/welcome.py +++ b/modules/handlers/welcome.py @@ -1,6 +1,7 @@ from app import app from pyrogram import filters from pyrogram.types import ForceReply, ReplyKeyboardMarkup +from classes.holo_user import HoloUser from modules.utils import configGet, configSet, locale, logWrite # Welcome check ================================================================================================================ @@ -14,6 +15,8 @@ async def welcome_pass(app, msg, once_again: bool = True) -> None: * once_again (bool, optional): Set to False if it's the first time as user applies. Defaults to True. """ + holo_user = HoloUser(msg.from_user) + if not once_again: await msg.reply_text(locale("privacy_notice", "message"))