Adv_bot / database /adduser.py
imseldrith's picture
Upload 3 files
7858524
raw
history blame
No virus
266 Bytes
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)