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

Function global_fsub_checker

plugins/fsub.py:194–198  ·  view source on GitHub ↗
(client: Client, message: Message)

Source from the content-addressed store, hash-verified

192
193@Client.on_message(filters.private & ~filters.user(Config.ADMIN) & ~filters.bot & ~filters.service & ~filters.me, group=-10)
194async def global_fsub_checker(client: Client, message: Message):
195 if not Config.IS_FSUB:
196 return
197 if not await get_fsub(client, message):
198 raise StopPropagation

Callers

nothing calls this directly

Calls 1

get_fsubFunction · 0.85

Tested by

no test coverage detected