fix commands

This commit is contained in:
jxxghp
2023-06-09 11:26:53 +08:00
parent 50d71621d7
commit 01428e9f8f
25 changed files with 228 additions and 202 deletions

View File

@ -7,6 +7,7 @@ from app.modules.filter.RuleParser import RuleParser
class FilterModule(_ModuleBase):
# 规则解析器
parser: RuleParser = None
@ -62,6 +63,9 @@ class FilterModule(_ModuleBase):
def init_module(self) -> None:
self.parser = RuleParser()
def stop(self):
pass
def init_setting(self) -> Tuple[str, Union[str, bool]]:
return "FILTER_RULE", True