Using HoloUser

This commit is contained in:
Profitroll 2022-12-11 23:32:35 +01:00
parent 0e06c2a7a5
commit 3b22cb0130
1 changed files with 3 additions and 0 deletions

View File

@ -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"))