mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-03 10:40:02 +08:00
update 0.0.7.0
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from configs.config import Config
|
||||
from configs.path_config import IMAGE_PATH
|
||||
from pathlib import Path
|
||||
import nonebot
|
||||
|
||||
|
||||
@@ -44,5 +46,16 @@ Config.add_plugin_config(
|
||||
default_value=6,
|
||||
)
|
||||
|
||||
Config.add_plugin_config(
|
||||
"image_management",
|
||||
"SHOW_ID",
|
||||
True,
|
||||
help_="是否消息显示图片下标id",
|
||||
default_value=True
|
||||
)
|
||||
|
||||
|
||||
(Path(IMAGE_PATH) / "image_management").mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
nonebot.load_plugins("plugins/image_management")
|
||||
|
||||
Reference in New Issue
Block a user