afbmq/dispatcher/filters/builtin.py
async def check(self, event: types.MessageEvent, message: types.Message):
        """
        If deep-linking is passed to the filter result of the matching will be passed as ``deep_link`` to the handler

        :param event:
        :param message:
        :return:
        """
        check = await super().check(event, message)

        if check and self.deep_link is not None:
            if not isinstance(self.deep_link, re.Pattern):
                return message.get_args() == self.deep_link

            match = self.deep_link.match(message.get_args())
            if match:
                return {'deep_link': match}
            return False

        return check

        If deep-linking is passed to the filter result of the matching will be passed as ``deep_link`` to the handler

        :param event:
        :param message:
        :return:
        
If deep-linking is passed to the filter result of the matching will be passed as ``deep_link`` to the handler
If deep - linking is passed to the filter result of the matching will be passed as ` ` deep_link ` ` to the handler
async def check(self, event: types.MessageEvent, message: types.Message):
        check = await super().check(event, message)
        if check and self.deep_link is not None:
            if not isinstance(self.deep_link, re.Pattern):
                return message.get_args() == self.deep_link
            match = self.deep_link.match(message.get_args())
            if match:
                return {'deep_link': match}
            return False
        return check
async def check ( self , event : types . MessageEvent , message : types . Message ) : check = await super ( ) . check ( event , message ) if check and self . deep_link is not None : if not isinstance ( self . deep_link , re . Pattern ) : return message . get_args ( ) == self . deep_link match = self . deep_link . match ( message . get_args ( ) ) if match : return { 'deep_link' : match } return False return check
If deep-linking is passed to the filter result of the matching will be passed as ``deep_link`` to the handler
If deep - linking is passed to the filter result of the matching will be passed as ` ` deep_link ` ` to the handler
"""
        If deep-linking is passed to the filter result of the matching will be passed as ``deep_link`` to the handler

        :param event:
        :param message:
        :return:
        """
None
self
event
types.MessageEvent
None
message
types.Message
None