# Ultroid - UserBot | |
# Copyright (C) 2021-2025 TeamUltroid | |
# | |
# This file is a part of < https://github.com/TeamUltroid/Ultroid/ > | |
# PLease read the GNU Affero General Public License in | |
# <https://www.github.com/TeamUltroid/Ultroid/blob/main/LICENSE/>. | |
from telethon import events | |
from . import * | |
async def dueha(e): | |
user = await e.get_user() | |
if not user.is_self: | |
return | |
sm = udB.get_key("ON_MNGR_ADD") | |
if sm == "OFF": | |
return | |
if not sm: | |
sm = "Thanks for Adding me :)" | |
await e.reply(sm, link_preview=False) | |