hikariatama / Hikka

The most fresh and updateable developer-oriented Telegram userbot
https://hikka.pw
GNU Affero General Public License v3.0
315 stars 506 forks source link

Predispatcher #129

Closed MuRuLOSE closed 7 months ago

MuRuLOSE commented 8 months ago

Additional context Example:

Class SomethingPreHandler(loader.PreDispatcher):
    async def __call__(
        call,
        request,
        data,
        **kwargs
    ):
        if something:
             return call(requesrt, data)
        else:
            pass
hikariatama commented 8 months ago

Provide an example of a usecase

hikariatama commented 7 months ago

Closed until the sufficient example of a usecase is provided