diff --git a/_Footer.py.md b/_Footer.py.md index 1957230..0519ecb 100644 --- a/_Footer.py.md +++ b/_Footer.py.md @@ -1,15 +1 @@ -```python -if not ( - member.new_chat_member - and member.new_chat_member.status not in {ChatMemberStatus.BANNED} - and not member.old_chat_member - ): - return -user = member.new_chat_member.user if member.new_chat_member else member.from_user - -@app.on_chat_member_updated() -async def handel_new_member_super(_, user: ChatMemberUpdated): - user_id = user.from_user.id - chat_id = user.chat.id - await app.send_message(chat_id, f"hi {user.from_user.mention} welcome to my group!") -``` \ No newline at end of file + \ No newline at end of file