Fixed join messages not being sent
This commit is contained in:
parent
ee738d00b5
commit
eaec6f2fe8
@ -41,7 +41,7 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
|
||||
|
||||
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
|
||||
|
||||
@ -72,7 +72,7 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
|
||||
|
||||
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
|
||||
|
||||
|
Reference in New Issue
Block a user