mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-13 06:00:58 +00:00
refactor: 恢复命令权限设置
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user