Example #1
0
async def real_nigga(event):
    if already_added(event.sender_id):
        pass
    elif not already_added(event.sender_id):
        add_usersid_in_db(event.sender_id)
        await UltraBot.send_message(Config.LOG_CHAT,
                                    f"**New User :** `{event.sender_id}`")
Example #2
0
async def _(event):
    if event.chat_id == Config.LOG_CHAT:
        return
    okbruh = await UltraBot.get_me()
    if event.user_joined or event.user_added == str(okbruh):
        lol = event.chat_id
        if already_added(event.chat_id):
            pass
        elif not already_added(event.chat_id):
            add_usersid_in_db(event.chat_id)
            await UltraBot.send_message(Config.LOG_CHAT, f"**New ChatGroup :** `{lol}`")