randydev commited on
Commit
d46ea82
·
verified ·
1 Parent(s): 797866e

Update chatbot/plugins/join_request.py

Browse files
Files changed (1) hide show
  1. chatbot/plugins/join_request.py +1 -1
chatbot/plugins/join_request.py CHANGED
@@ -95,7 +95,7 @@ def generate_captcha_multiple_choice():
95
  img.save(img_path)
96
  return captcha_text, img_path, choices
97
 
98
- @Client.on_chat_join_request(filters.chat("KillerXSupport"))
99
  async def join_request(client: Client, event: ChatJoinRequest):
100
  member = await client.get_chat_member(event.chat.id, "me")
101
  if member.status != ChatMemberStatus.ADMINISTRATOR:
 
95
  img.save(img_path)
96
  return captcha_text, img_path, choices
97
 
98
+ @Client.on_chat_join_request()
99
  async def join_request(client: Client, event: ChatJoinRequest):
100
  member = await client.get_chat_member(event.chat.id, "me")
101
  if member.status != ChatMemberStatus.ADMINISTRATOR: