File size: 613 Bytes
618430a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
# 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 *
@asst.on(events.ChatAction(func=lambda x: x.user_added))
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)
|