User bans, emoji and other bug fixes, age limiter, etc #26
@ -46,10 +46,11 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if await isAnAdmin(member.invite_link.creator.id):
|
if await isAnAdmin(member.invite_link.creator.id):
|
||||||
|
|
||||||
logWrite(f"User {holo_user.id} joined destination group with link {holo_user.link} of an admin {member.invite_link.creator.id}")
|
logWrite(f"User {holo_user.id} joined destination group with link {holo_user.link} of an admin {member.invite_link.creator.id}")
|
||||||
|
|
||||||
application = col_applications.find_one({"user": holo_user.id})
|
application = col_applications.find_one({"user": holo_user.id})
|
||||||
|
|
||||||
if application is None:
|
if application is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user