mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
typo
This commit is contained in:
parent
f3c7a9ccb9
commit
4c52adbef0
1 changed files with 2 additions and 2 deletions
|
|
@ -98,7 +98,7 @@ def welcomepic(pic, user, chat, id, strings):
|
|||
async def member_has_joined(c: Client, member: ChatMemberUpdated, strings):
|
||||
if not (
|
||||
member.new_chat_member
|
||||
and member.new_chat_member.status not in {CMS.BANNED}
|
||||
and member.new_chat_member.status not in {CMS.RESTRICTED}
|
||||
and not member.old_chat_member
|
||||
):
|
||||
return
|
||||
|
|
@ -140,7 +140,7 @@ async def member_has_joined(c: Client, member: ChatMemberUpdated, strings):
|
|||
member.chat.id,
|
||||
photo=welcomeimg,
|
||||
caption=strings("capt_welc").format(
|
||||
umention=mention, uid=u.id, ttl=message.chat.title
|
||||
umention=mention, uid=user.id, ttl=message.chat.title
|
||||
),
|
||||
)
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in a new issue