File size: 266 Bytes
7858524
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from pyrogram import Client
from database.access import clinton
from pyrogram.types import Message


async def AddUser(bot: Client, update: Message):
    if not await clinton.is_user_exist(update.from_user.id):
           await clinton.add_user(update.from_user.id)