MCPcopy Create free account
hub / github.com/TechifyBots/Rename-Bot / is_auth_req_channel

Function is_auth_req_channel

plugins/fsub.py:83–84  ·  view source on GitHub ↗
(_, __, update)

Source from the content-addressed store, hash-verified

81 logging.error(f"Failed to send start link to {user_id}: {e}")
82
83def is_auth_req_channel(_, __, update):
84 return update.chat.id in Config.AUTH_REQ_CHANNELS
85
86@Client.on_chat_join_request(filters.create(is_auth_req_channel))
87async def join_reqs(client: Client, message: ChatJoinRequest):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected