diff options
author | SakuraMemory <[email protected]> | 2022-04-05 16:18:34 +0800 |
---|---|---|
committer | GitHub <[email protected]> | 2022-04-05 16:18:34 +0800 |
commit | ceb7b3a5b11d3978c46185af1cf982a2eb3ca961 (patch) | |
tree | 0e509c76a575db8a4ab485d503ea7bf3e73b5383 /ATRI/plugins/manage | |
parent | a2f3925fc63d12ad8daefa6ba30b18bc81693c99 (diff) | |
parent | 93e71022a5987ca898ca42a84e10cf3a1ddacd0a (diff) | |
download | ATRI-ceb7b3a5b11d3978c46185af1cf982a2eb3ca961.tar.gz ATRI-ceb7b3a5b11d3978c46185af1cf982a2eb3ca961.tar.bz2 ATRI-ceb7b3a5b11d3978c46185af1cf982a2eb3ca961.zip |
Merge pull request #5 from Kyomotoi/main
sync main
Diffstat (limited to 'ATRI/plugins/manage')
-rw-r--r-- | ATRI/plugins/manage/data_source.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ATRI/plugins/manage/data_source.py b/ATRI/plugins/manage/data_source.py index bc9f801..395a165 100644 --- a/ATRI/plugins/manage/data_source.py +++ b/ATRI/plugins/manage/data_source.py @@ -6,6 +6,7 @@ from datetime import datetime from ATRI.service import Service, ServiceTools from ATRI.exceptions import ReadFileError, load_error + MANAGE_DIR = Path(".") / "data" / "database" / "manege" ESSENTIAL_DIR = Path(".") / "data" / "database" / "essential" os.makedirs(MANAGE_DIR, exist_ok=True) @@ -17,12 +18,10 @@ Time: {time} {content} """.strip() -__doc__ = """控制bot的各项服务""" - class Manage(Service): def __init__(self): - Service.__init__(self, "管理", __doc__, True) + Service.__init__(self, "管理", "控制bot的各项服务", True) @staticmethod def _load_block_user_list() -> dict: |