This commit is contained in:
felinae98
2022-02-22 15:28:09 +08:00
parent 3fdf91ac20
commit 9448a93360
3 changed files with 2 additions and 5 deletions
@@ -8,8 +8,6 @@ class PlugConfig(BaseSettings):
bison_config_path: str = ""
bison_use_pic: bool = False
bison_use_local: bool = False
bison_browser: str = ""
bison_init_filter: bool = True
bison_use_queue: bool = True
bison_outer_url: str = "http://localhost:8080/bison/"
@@ -22,5 +20,3 @@ class PlugConfig(BaseSettings):
global_config = nonebot.get_driver().config
plugin_config = PlugConfig(**global_config.dict())
if plugin_config.bison_use_local:
warnings.warn("BISON_USE_LOCAL is deprecated, please use BISON_BROWSER")