删掉多余config

This commit is contained in:
nicklly 2022-05-27 21:17:20 +08:00
parent 1569b010dd
commit 876fda38ad
2 changed files with 8 additions and 11 deletions

8
.idea/modules.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/LittlePaimon.iml" filepath="$PROJECT_DIR$/.idea/LittlePaimon.iml" />
</modules>
</component>
</project>

View File

@ -1,11 +0,0 @@
from pydantic import BaseModel
from nonebot import get_driver
from typing import List
class PluginConfig(BaseModel):
enable_group: List[int] = []
config: PluginConfig = PluginConfig.parse_obj(get_driver().config.dict())