Fixed join messages not being sent

This commit is contained in:
Profitroll 2023-01-30 10:39:14 +01:00
parent ee738d00b5
commit eaec6f2fe8

View File

@ -41,7 +41,7 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
i += 1 i += 1
await app.send_message(configGet("users", "groups"), locale("joined_application", "messages").format(member.from_user.first_name, member.from_user.username, "\n".join(application_content))) await app.send_message(configGet("users", "groups"), locale("joined_application", "message").format(member.from_user.first_name, member.from_user.username, "\n".join(application_content)))
return return
@ -72,7 +72,7 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
i += 1 i += 1
await app.send_message(configGet("users", "groups"), locale("joined_application", "messages").format(member.from_user.first_name, member.from_user.username, "\n".join(application_content))) await app.send_message(configGet("users", "groups"), locale("joined_application", "message").format(member.from_user.first_name, member.from_user.username, "\n".join(application_content)))
return return