Using HoloUser
This commit is contained in:
parent
0e06c2a7a5
commit
3b22cb0130
@ -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"))
|
||||
|
||||
|
Reference in New Issue
Block a user