Skip to content

Pre_Processors

Keith Sterling edited this page Sep 19, 2017 · 3 revisions

Pre Processors inherit from the abstract base class

    programy.processors.processing.PreProcessor

The class has a single method, process, which takes bot, client and the string to pre-process and should return the processed string

    class PreProcessor(Processor):

        def __init__(self):
            Processor.__init__(self)

        @abstractmethod
        def process(self, bot, clientid, string):
            pass
Clone this wiki locally