Check if user's link is valid

This commit is contained in:
Profitroll 2022-10-23 16:22:38 +02:00
parent 7d8ba1dc99
commit bbcbd3142c
1 changed files with 7 additions and 0 deletions

View File

@ -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}")