mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2025-09-06 20:26:25 +00:00
😊优化代码结构,统一图片主题,优化总体质感,非常完美
This commit is contained in:
@ -10,9 +10,10 @@ BGIMAGE_PATH = RES_PATH / "bgimage"
|
||||
|
||||
class ConfigModel(BaseModel):
|
||||
acgnshow_pagesize: int = 10
|
||||
acgnshow_bgimage_path: str = BGIMAGE_PATH
|
||||
acgnshow_bgimage_path: str = BGIMAGE_PATH.resolve().as_posix()
|
||||
acgnshow_send_show_details_html: bool = False
|
||||
acgnshow_show_details_html_scale: float = 0.6
|
||||
acgnshow_show_details_html_img_count: int = 2
|
||||
|
||||
|
||||
config: ConfigModel = get_plugin_config(ConfigModel)
|
||||
|
Reference in New Issue
Block a user