refactor: 恢复命令权限设置

This commit is contained in:
RockChinQ
2024-02-06 23:57:21 +08:00
parent 2a913ed24c
commit b5b67ad958
5 changed files with 24 additions and 11 deletions
+1 -6
View File
@@ -9,13 +9,8 @@ from ...config import manager as cfg_mgr
@stage.stage_class('BanSessionCheckStage')
class BanSessionCheckStage(stage.PipelineStage):
banlist_mgr: cfg_mgr.ConfigManager
async def initialize(self):
self.banlist_mgr = await cfg_mgr.load_python_module_config(
"banlist.py",
"res/templates/banlist-template.py"
)
pass
async def process(
self,