Check if user's link is valid
This commit is contained in:
parent
7d8ba1dc99
commit
bbcbd3142c
7
main.py
7
main.py
@ -327,6 +327,13 @@ async def any_stage(app, msg):
|
||||
# ==============================================================================================================================
|
||||
|
||||
|
||||
# Filter users on join =========================================================================================================
|
||||
@app.on_chat_member_updated(filters.new_chat_members, group=configGet("destination_group"))
|
||||
async def filter_join(app, member):
|
||||
pass # Check if invite link belongs to this user
|
||||
# ==============================================================================================================================
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
logWrite(f"Starting up with pid {pid}")
|
||||
|
Reference in New Issue
Block a user